]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
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 + |