svn commit: r335078 - head/sys/dev/aacraid
Warner Losh
imp at FreeBSD.org
Wed Jun 13 20:25:01 UTC 2018
Author: imp
Date: Wed Jun 13 20:25:00 2018
New Revision: 335078
URL: https://svnweb.freebsd.org/changeset/base/335078
Log:
Add PNP info to the PCI attachment of the aacraid driver.
Reviewed by: imp, chuck
Submitted by: Lakhan Shiva Kamireddy <lakhanshiva at gmail.com>
Sponsored by: Google, Inc. (GSoC 2018)
Modified:
head/sys/dev/aacraid/aacraid_pci.c
Modified: head/sys/dev/aacraid/aacraid_pci.c
==============================================================================
--- head/sys/dev/aacraid/aacraid_pci.c Wed Jun 13 20:24:49 2018 (r335077)
+++ head/sys/dev/aacraid/aacraid_pci.c Wed Jun 13 20:25:00 2018 (r335078)
@@ -85,9 +85,6 @@ static driver_t aacraid_pci_driver = {
static devclass_t aacraid_devclass;
-DRIVER_MODULE(aacraid, pci, aacraid_pci_driver, aacraid_devclass, 0, 0);
-MODULE_DEPEND(aacraid, pci, 1, 1, 1);
-
struct aac_ident
{
u_int16_t vendor;
@@ -106,6 +103,12 @@ struct aac_ident
"Adaptec RAID Controller"},
{0, 0, 0, 0, 0, 0, 0}
};
+
+DRIVER_MODULE(aacraid, pci, aacraid_pci_driver, aacraid_devclass, 0, 0);
+MODULE_PNP_INFO("U16:vendor;U16:device", pci, aacraid,
+ aacraid_family_identifiers, sizeof(aacraid_family_identifiers[0]),
+ nitems(aacraid_family_identifiers) - 1);
+MODULE_DEPEND(aacraid, pci, 1, 1, 1);
static struct aac_ident *
aac_find_ident(device_t dev)
More information about the svn-src-all
mailing list