From fc7449ce6a79c60d9a49a2cbe31324aa1309395d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 13 Jun 2018 20:25:18 +0000 Subject: [PATCH] Add PNP info to PCI attachment of bwi driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) --- sys/dev/bwi/if_bwi_pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/bwi/if_bwi_pci.c b/sys/dev/bwi/if_bwi_pci.c index 87fc1fb6b4b0..63378be0452d 100644 --- a/sys/dev/bwi/if_bwi_pci.c +++ b/sys/dev/bwi/if_bwi_pci.c @@ -256,6 +256,8 @@ static driver_t bwi_driver = { }; static devclass_t bwi_devclass; DRIVER_MODULE(bwi, pci, bwi_driver, bwi_devclass, 0, 0); +MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bwi, bwi_devices, + sizeof(bwi_devices[0]), nitems(bwi_devices) - 1); MODULE_DEPEND(bwi, wlan, 1, 1, 1); /* 802.11 media layer */ MODULE_DEPEND(bwi, firmware, 1, 1, 1); /* firmware support */ MODULE_DEPEND(bwi, wlan_amrr, 1, 1, 1);