patch-2.4.0-test2 linux/drivers/net/eth16i.c

Next file: linux/drivers/net/fc/iph5526.c
Previous file: linux/drivers/net/es3210.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/net/eth16i.c linux/drivers/net/eth16i.c
@@ -448,7 +448,7 @@
 	if(base_addr > 0x1ff)           /* Check only single location */
 		return eth16i_probe1(dev, base_addr);
 	else if(base_addr != 0)         /* Don't probe at all */
-		return ENXIO;
+		return -ENXIO;
 
 	/* Seek card from the ISA io address space */
 	for(i = 0; (ioaddr = eth16i_portlist[i]) ; i++) {
@@ -466,7 +466,7 @@
 			return 0;
 	}
 
-	return ENODEV;
+	return -ENODEV;
 }
 
 static int __init eth16i_probe1(struct net_device *dev, int ioaddr)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)