]> err.no Git - linux-2.6/commit
forcedeth msi bugfix
authorManfred Spraul <manfred@colorfullife.com>
Wed, 17 Oct 2007 19:52:33 +0000 (21:52 +0200)
committerJeff Garzik <jeff@garzik.org>
Thu, 18 Oct 2007 00:17:34 +0000 (20:17 -0400)
commita7475906bc496456ded9e4b062f94067fb93057a
treeb22c55299909fb2fc2f7168fb9e74867bdba2fc1
parentdb0e8e3f71dbd9a67e44eaa01d10e468d11fa73e
forcedeth msi bugfix

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>
drivers/net/forcedeth.c