]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.25/patches.fixes/tulip-quad-NIC-ifdown
Updated xen patches taken from suse.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.fixes / tulip-quad-NIC-ifdown
1 Subject: MCA when shutting down tulip quad-NIC
2 From: andrew.patterson@hp.com
3 References: SUSE39204
4
5 Shutting down the network causes an MCA because of an IO TLB error when
6 a DEC quad 10/100 card is in any slot. This problem was originally seen
7 on an HP rx4640.
8
9 Acked-by: Olaf Kirch <okir@suse.de>
10
11 drivers/net/tulip/tulip_core.c | 4 ++++
12 1 file changed, 4 insertions(+)
13
14 --- a/drivers/net/tulip/tulip_core.c
15 +++ b/drivers/net/tulip/tulip_core.c
16 @@ -1788,6 +1788,10 @@ static void __devexit tulip_remove_one (
17 return;
18
19 tp = netdev_priv(dev);
20 +
21 + /* shoot NIC in the head before deallocating descriptors */
22 + pci_disable_device(tp->pdev);
23 +
24 unregister_netdev(dev);
25 pci_free_consistent (pdev,
26 sizeof (struct tulip_rx_desc) * RX_RING_SIZE +