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>
Fri, 16 Nov 2007 17:25:35 +0000 (09:25 -0800)
commit3889257088aff7ff7e8dee252fbd19c7b95d4f52
treedc12027638935a74ac0423ff99d66aff8dda37e5
parentc5b130d0073483646a3187c023ba0aa002d6ce36
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