'\" t .\" Title: __ht_create_irq .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "__HT_CREATE_IRQ" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" __ht_create_irq \- create an irq and attach it to a device\&. .SH "SYNOPSIS" .HP \w'int\ __ht_create_irq('u .BI "int __ht_create_irq(struct\ pci_dev\ *\ " "dev" ", int\ " "idx" ", ht_irq_update_t\ *\ " "update" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 The hypertransport device to find the irq capability on\&. .RE .PP \fIidx\fR .RS 4 Which of the possible irqs to attach to\&. .RE .PP \fIupdate\fR .RS 4 Function to be called when changing the htirq message .RE .SH "DESCRIPTION" .PP The irq number of the new irq or a negative error value is returned\&. .SH "COPYRIGHT" .br