diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2018-08-19 00:46:22 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2018-08-19 00:46:22 +0000 |
commit | b8e771e97a39a88bbf6ebf8f31dcc820c91fe355 (patch) | |
tree | f2f650a1268aff544f6cda15482de87cc0ebb65a /sys/dev/pci/pcivar.h | |
parent | faa319436f0d548cff97c2c8c763538997b63f34 (diff) | |
download | src-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.h | 2 |
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, |