Name

__ht_create_irq — create an irq and attach it to a device.

Synopsis

int __ht_create_irq (struct pci_dev * dev,
 int idx,
 ht_irq_update_t * update);
 

Arguments

struct pci_dev * dev

The hypertransport device to find the irq capability on.

int idx

Which of the possible irqs to attach to.

ht_irq_update_t * update

Function to be called when changing the htirq message

Description

The irq number of the new irq or a negative error value is returned.