patch-2.4.0-test2 linux/drivers/char/epca.c
Next file: linux/drivers/char/ftape/zftape/zftape-init.c
Previous file: linux/drivers/char/efirtc.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Jun 20 07:32:13 2000
- Orig file:
v2.4.0-test1/linux/drivers/char/epca.c
- Orig date:
Tue May 23 15:31:34 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/char/epca.c linux/drivers/char/epca.c
@@ -4007,6 +4007,9 @@
int board_idx, info_idx = ent->driver_data;
unsigned long addr;
+ if (pci_enable_device(pdev))
+ return -EIO;
+
board_num++;
board_idx = board_num + num_cards;
if (board_idx >= MAXBOARDS)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)