patch-2.4.0-test2 linux/drivers/net/fmv18x.c
Next file: linux/drivers/net/hamradio/pi2.c
Previous file: linux/drivers/net/fc/iph5526.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Jun 19 13:30:58 2000
- Orig file:
v2.4.0-test1/linux/drivers/net/fmv18x.c
- Orig date:
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/net/fmv18x.c linux/drivers/net/fmv18x.c
@@ -137,7 +137,7 @@
if (base_addr > 0x1ff) /* Check a single specified location. */
return fmv18x_probe1(dev, base_addr);
else if (base_addr != 0) /* Don't probe at all. */
- return ENXIO;
+ return -ENXIO;
for (i = 0; fmv18x_probe_list[i]; i++) {
int ioaddr = fmv18x_probe_list[i];
@@ -147,7 +147,7 @@
return 0;
}
- return ENODEV;
+ return -ENODEV;
}
/* The Fujitsu datasheet suggests that the NIC be probed for by checking its
@@ -194,7 +194,7 @@
if (request_irq(irq, &net_interrupt, 0, "fmv18x", dev)) {
printk ("FMV-18x found at %#3x, but it's unusable due to a conflict on"
"IRQ %d.\n", ioaddr, irq);
- return EAGAIN;
+ return -EAGAIN;
}
/* Allocate a new 'dev' if needed. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)