patch-2.2.0-pre6 linux/drivers/net/at1700.c

Next file: linux/drivers/net/cops.h
Previous file: linux/drivers/net/ariadne2.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre5/linux/drivers/net/at1700.c linux/drivers/net/at1700.c
@@ -838,10 +838,12 @@
 {
 	struct net_local *lp = dev_at1700.priv;
 	unregister_netdev(&dev_at1700);
+#ifdef CONFIG_MCA	
 	if(lp->mca_slot)
 	{
 		mca_mark_as_unused(lp->mca_slot);
 	}
+#endif	
 	kfree(dev_at1700.priv);
 	dev_at1700.priv = NULL;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov