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

Next file: linux/drivers/net/CONFIG
Previous file: linux/drivers/net/3c509.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.23/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