summaryrefslogtreecommitdiffstats
path: root/sys/isa/isavar.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-10-09 00:40:17 +0000
committermsmith <msmith@FreeBSD.org>2000-10-09 00:40:17 +0000
commit62cf720766d52fe137a61d39461e57eef44bfc66 (patch)
tree311eed2fb8d49253facf779e14b30747b81fd611 /sys/isa/isavar.h
parenta4f549597e4f1de22e1614caaad56127b519e00e (diff)
downloadFreeBSD-src-62cf720766d52fe137a61d39461e57eef44bfc66.zip
FreeBSD-src-62cf720766d52fe137a61d39461e57eef44bfc66.tar.gz
Resolve the inconsistency between "the number of resources of a particular
kind we can manage in a set of configurations" and "the number of resources of a particular kind that can be programmed into an ISA PnP adapter". Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp> Submitted by: Hirokazu WATANABE <gwna@geocities.co.jp>
Diffstat (limited to 'sys/isa/isavar.h')
-rw-r--r--sys/isa/isavar.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/sys/isa/isavar.h b/sys/isa/isavar.h
index d8d6f1d..393f8a5 100644
--- a/sys/isa/isavar.h
+++ b/sys/isa/isavar.h
@@ -49,10 +49,21 @@ typedef void isa_config_cb(void *arg, struct isa_config *config, int enable);
#define ISA_ORDER_SPECULATIVE 1 /* legacy non-sensitive hardware */
#define ISA_ORDER_PNP 2 /* plug-and-play hardware */
+/*
+ * Limits on resources that we can manage
+ */
#define ISA_NPORT 50
-#define ISA_NMEM 8
-#define ISA_NIRQ 2
-#define ISA_NDRQ 2
+#define ISA_NMEM 50
+#define ISA_NIRQ 50
+#define ISA_NDRQ 50
+
+/*
+ * Limits on resources the hardware can actually handle
+ */
+#define ISA_PNP_NPORT 8
+#define ISA_PNP_NMEM 4
+#define ISA_PNP_NIRQ 2
+#define ISA_PNP_NDRQ 2
#define ISADMA_READ 0x00100000
#define ISADMA_WRITE 0
OpenPOWER on IntegriCloud