patch-2.4.0-test2 linux/drivers/net/de600.c
Next file: linux/drivers/net/de620.c
Previous file: linux/drivers/net/de4x5.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Jun 19 13:30:57 2000
- Orig file:
v2.4.0-test1/linux/drivers/net/de600.c
- Orig date:
Thu May 11 15:30:07 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/net/de600.c linux/drivers/net/de600.c
@@ -650,7 +650,7 @@
de600_put_command(STOP_RESET);
if (de600_read_status(dev) & 0xf0) {
printk(": not at I/O %#3x.\n", DATA_PORT);
- return ENODEV;
+ return -ENODEV;
}
/*
@@ -675,13 +675,13 @@
dev->dev_addr[3] |= 0x70;
} else {
printk(" not identified in the printer port\n");
- return ENODEV;
+ return -ENODEV;
}
#if 0 /* Not yet */
if (check_region(DE600_IO, 3)) {
printk(", port 0x%x busy\n", DE600_IO);
- return EBUSY;
+ return -EBUSY;
}
#endif
request_region(DE600_IO, 3, "de600");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)