patch-2.1.127 linux/drivers/char/specialix_io8.h
Next file: linux/drivers/char/stallion.c
Previous file: linux/drivers/char/specialix.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Oct 28 22:04:05 1998
- Orig file:
v2.1.126/linux/drivers/char/specialix_io8.h
- Orig date:
Tue Mar 10 10:03:31 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/char/specialix_io8.h linux/drivers/char/specialix_io8.h
@@ -43,9 +43,16 @@
#ifdef __KERNEL__
-#define SX_NBOARD 4
+/* You can have max 4 ISA cards in one PC, and I recommend not much
+more than a few PCI versions of the card. */
+
+#define SX_NBOARD 8
+
/* NOTE: Specialix decoder recognizes 4 addresses, but only two are used.... */
#define SX_IO_SPACE 4
+/* The PCI version decodes 8 addresses, but still only 2 are used. */
+#define SX_PCI_IO_SPACE 8
+
/* eight ports per board. */
#define SX_NPORT 8
#define SX_BOARD(line) ((line) / SX_NPORT)
@@ -93,6 +100,7 @@
#define SX_BOARD_PRESENT 0x00000001
#define SX_BOARD_ACTIVE 0x00000002
+#define SX_BOARD_IS_PCI 0x00000004
struct specialix_port {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov