Michael Ellerman 314e77b3ee MSI: Remove dev->first_msi_irq
Now that we keep a list of msi descriptors, we don't need first_msi_irq
in the pci dev.

If we somehow have zero MSIs configured list_entry() will give us weird
oopes or nice memory corruption bugs. So be paranoid. Add BUG_ONs and also
a check in pci_msi_check_device() to make sure nvec > 0.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-05-02 19:02:37 -07:00
..
2007-05-02 19:02:37 -07:00
2005-10-18 08:26:15 -07:00
2006-12-04 02:00:22 -05:00
2006-10-04 07:55:30 -07:00
2007-05-02 19:02:37 -07:00
2006-12-01 14:36:56 -08:00
2006-09-26 17:43:54 -07:00