summaryrefslogtreecommitdiffstats
path: root/sys/dev/eisa
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-10-31 00:45:49 +0000
committerpeter <peter@FreeBSD.org>2002-10-31 00:45:49 +0000
commit7037f5c5b1cc4595eaa8ae51cac610e653a3c519 (patch)
treea85967720a14e2c3108802c85bebc0438f8c6bbe /sys/dev/eisa
parent1342e2dea9c0abfc0d9eb10610e15d455d3f4138 (diff)
downloadFreeBSD-src-7037f5c5b1cc4595eaa8ae51cac610e653a3c519.zip
FreeBSD-src-7037f5c5b1cc4595eaa8ae51cac610e653a3c519.tar.gz
Add tunable "hw.eisa_slots" to allow overriding the default number
of slots (10).
Diffstat (limited to 'sys/dev/eisa')
-rw-r--r--sys/dev/eisa/eisaconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c
index 49d8d22..2b306eb 100644
--- a/sys/dev/eisa/eisaconf.c
+++ b/sys/dev/eisa/eisaconf.c
@@ -86,6 +86,7 @@ struct eisa_device {
#define EISA_SLOTS 10 /* PCI clashes with higher ones.. fix later */
#endif
int num_eisa_slots = EISA_SLOTS;
+TUNABLE_INT("hw.eisa_slots", &num_eisa_slots);
static devclass_t eisa_devclass;
OpenPOWER on IntegriCloud