aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-06-13 20:25:18 +0000
committerWarner Losh <imp@FreeBSD.org>2018-06-13 20:25:18 +0000
commitfc7449ce6a79c60d9a49a2cbe31324aa1309395d (patch)
treed69126cd49c0f608de9b67c1223f1b2f1ec20b22 /sys
parent96b523613cdf689f98a8f737dc957e011217e932 (diff)
downloadsrc-fc7449ce6a79c60d9a49a2cbe31324aa1309395d.tar.gz
src-fc7449ce6a79c60d9a49a2cbe31324aa1309395d.zip
Add PNP info to PCI attachment of bwi driver
Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy <lakhanshiva@gmail.com> Sponsored by: Google, Inc. (GSoC 2018)
Notes
Notes: svn path=/head/; revision=335082
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/bwi/if_bwi_pci.c2
1 files changed, 2 insertions, 0 deletions
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);