patch-2.4.0-test2 linux/drivers/net/de620.c
Next file: linux/drivers/net/defxx.c
Previous file: linux/drivers/net/de600.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Jun 19 13:30:57 2000
- Orig file:
v2.4.0-test1/linux/drivers/net/de620.c
- Orig date:
Thu May 11 15:30:07 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/net/de620.c linux/drivers/net/de620.c
@@ -834,13 +834,13 @@
if ((checkbyte != 0xa5) || (read_eeprom(dev) != 0)) {
printk(" not identified in the printer port\n");
- return ENODEV;
+ return -ENODEV;
}
#if 0 /* Not yet */
if (check_region(dev->base_addr, 3)) {
printk(", port 0x%x busy\n", dev->base_addr);
- return EBUSY;
+ return -EBUSY;
}
#endif
request_region(dev->base_addr, 3, "de620");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)