aboutsummaryrefslogtreecommitdiff
path: root/sys/isa
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-08-19 00:46:22 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-08-19 00:46:22 +0000
commitb8e771e97a39a88bbf6ebf8f31dcc820c91fe355 (patch)
treef2f650a1268aff544f6cda15482de87cc0ebb65a /sys/isa
parentfaa319436f0d548cff97c2c8c763538997b63f34 (diff)
downloadsrc-b8e771e97a39a88bbf6ebf8f31dcc820c91fe355.tar.gz
src-b8e771e97a39a88bbf6ebf8f31dcc820c91fe355.zip
Back out r338035 until Warner is finished churning GSoC PNP patches
I was not aware Warner was making or planning to make forward progress in this area and have since been informed of that. It's easy to apply/reapply when churn dies down.
Notes
Notes: svn path=/head/; revision=338037
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/isavar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/isavar.h b/sys/isa/isavar.h
index d95a9c1ab3f2..1a3e661b67a4 100644
--- a/sys/isa/isavar.h
+++ b/sys/isa/isavar.h
@@ -142,7 +142,7 @@ enum isa_device_ivars {
#define ISA_PNP_DESCR "E:pnpid;D:#"
#define ISA_PNP_INFO(t) \
- MODULE_PNP_INFO(ISA_PNP_DESCR, isa, t, t, nitems(t) - 1); \
+ MODULE_PNP_INFO(ISA_PNP_DESCR, isa, t, t, sizeof(t[0]), nitems(t) - 1); \
/*
* Simplified accessors for isa devices