patch-2.1.6 linux/drivers/net/3c59x.c

Next file: linux/drivers/net/8390.c
Previous file: linux/drivers/isdn/teles/teles.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.5/linux/drivers/net/3c59x.c linux/drivers/net/3c59x.c
@@ -315,7 +315,7 @@
 
 	root_vortex_dev = NULL;
 	cards_found = vortex_scan(0);
-	return cards_found < 0 ? cards_found : 0;
+	return cards_found ? 0 : -ENODEV;
 }
 
 #else

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