forcedeth msi bugfix
authorManfred Spraul <manfred@colorfullife.com>
Wed, 17 Oct 2007 19:52:33 +0000 (21:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Nov 2007 17:25:55 +0000 (09:25 -0800)
commit5120a468e1b3a7d01bb043884ed377ff1c0cc653
tree004094a5ccd03f90837f8851ca9591a79743d2cb
parent05fa45dfe7e4fae1601568064e666b946cf9c308
forcedeth msi bugfix

patch a7475906bc496456ded9e4b062f94067fb93057a in mainline.

pci_enable_msi() replaces the INTx irq number in pci_dev->irq with the
new MSI irq number.
The forcedeth driver did not update the copy in netdevice->irq and
parts of the driver used the stale copy.
See bugzilla.kernel.org, bug 9047.

The patch
- updates netdevice->irq
- replaces all accesses to netdevice->irq with pci_dev->irq.

The patch is against 2.6.23.1. IMHO suitable for both 2.6.23 and 2.6.24

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/forcedeth.c