patch-2.4.0-test2 linux/drivers/net/sunbmac.c
Next file: linux/drivers/net/sunhme.c
Previous file: linux/drivers/net/strip.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Mon Jun 19 13:42:39 2000
- Orig file:
v2.4.0-test1/linux/drivers/net/sunbmac.c
- Orig date:
Sun Feb 20 21:12:39 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/net/sunbmac.c linux/drivers/net/sunbmac.c
@@ -1,4 +1,4 @@
-/* $Id: sunbmac.c,v 1.18 2000/02/18 13:49:21 davem Exp $
+/* $Id: sunbmac.c,v 1.19 2000/06/19 06:24:46 davem Exp $
* sunbmac.c: Driver for Sparc BigMAC 100baseT ethernet adapters.
*
* Copyright (C) 1997, 1998, 1999 David S. Miller (davem@redhat.com)
@@ -1262,7 +1262,7 @@
#endif
if (called)
- return ENODEV;
+ return -ENODEV;
called++;
for_each_sbus(sbus) {
@@ -1278,7 +1278,7 @@
}
}
if (!cards)
- return ENODEV;
+ return -ENODEV;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)