aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci/pcivar.h
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/dev/pci/pcivar.h
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/dev/pci/pcivar.h')
-rw-r--r--sys/dev/pci/pcivar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index 376fb96594ce..c5a8afb4ed23 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -311,7 +311,7 @@ struct pci_device_table {
"M16:mask;U16:vendor;U16:device;U16:subvendor;U16:subdevice;" \
"U16:class;U16:subclass;U16:revid;"
#define PCI_PNP_INFO(table) \
- MODULE_PNP_INFO(PCI_PNP_STR, pci, table, table, \
+ MODULE_PNP_INFO(PCI_PNP_STR, pci, table, table, sizeof(table[0]), \
sizeof(table) / sizeof(table[0]))
const struct pci_device_table *pci_match_device(device_t child,