Add PNP info to the PCI attachment of the aacraid driver.

Reviewed by: imp, chuck
Submitted by: Lakhan Shiva Kamireddy <lakhanshiva@gmail.com>
Sponsored by: Google, Inc. (GSoC 2018)
This commit is contained in:
Warner Losh 2018-06-13 20:25:00 +00:00
parent 791a8cbbe6
commit c3f3f3e648

View File

@ -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;
@ -107,6 +104,12 @@ struct aac_ident
{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)
{