Messages in this thread Patch in this message | | | Date | Thu, 19 Sep 2002 16:51:34 -0400 | Subject | PATCH: sundance #4a | From | Jason Lunz <> |
| |
If you're going to bail when reading the ASIC fails, you need to unregister the dev before you return or Bad Things happen.
Jason --- sundance-garzik.c Thu Sep 19 16:45:57 2002 +++ sundance-unreg.c Thu Sep 19 16:48:22 2002 @@ -599,6 +599,7 @@ if (phy_idx == 0) { printk(KERN_INFO "%s: No MII transceiver found, aborting. ASIC status %x\n", dev->name, readl(ioaddr + ASICCtrl)); + unregister_netdev(dev); goto err_out_unmap_rx; }
| |