Skip to content

Commit

Permalink
Add PNP info to PCI attachment of bwi driver
Browse files Browse the repository at this point in the history
  • Loading branch information
lakhanshiva committed May 22, 2018
1 parent edb76a6 commit 725ffa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/dev/bwi/if_bwi_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 725ffa5

Please sign in to comment.