1 Subject: MCA when shutting down tulip quad-NIC
2 From: andrew.patterson@hp.com
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
9 Acked-by: Olaf Kirch <okir@suse.de>
10 Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
12 drivers/net/tulip/tulip_core.c | 4 ++++
13 1 file changed, 4 insertions(+)
15 --- a/drivers/net/tulip/tulip_core.c 2007-07-08 19:32:17.000000000 -0400
16 +++ b/drivers/net/tulip/tulip_core.c 2007-08-27 14:01:23.000000000 -0400
17 @@ -1794,6 +1794,10 @@ static void __devexit tulip_remove_one (
20 tp = netdev_priv(dev);
22 + /* shoot NIC in the head before deallocating descriptors */
23 + pci_disable_device(tp->pdev);
25 unregister_netdev(dev);
26 pci_free_consistent (pdev,
27 sizeof (struct tulip_rx_desc) * RX_RING_SIZE +