'\" t .\" Title: ht_create_irq .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "HT_CREATE_IRQ" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "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" ");" .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 .SH "DESCRIPTION" .PP ht_create_irq needs to be called for all hypertransport devices that generate irqs\&. .PP The irq number of the new irq or a negative error value is returned\&. .SH "COPYRIGHT" .br