Skip to content

Commit

Permalink
Add PNP info to PCI attachment of bwn driver
Browse files Browse the repository at this point in the history
  • Loading branch information
lakhanshiva committed May 22, 2018
1 parent e171f0a commit edb76a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sys/dev/bwn/if_bwn_pci.c
Expand Up @@ -295,6 +295,10 @@ DEFINE_CLASS_0(bwn_pci, bwn_pci_driver, bwn_pci_methods,
sizeof(struct bwn_pci_softc));
DRIVER_MODULE_ORDERED(bwn_pci, pci, bwn_pci_driver, bwn_pci_devclass, NULL,
NULL, SI_ORDER_ANY);
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bwn_siba,
siba_devices, sizeof(siba_devices[0]), nitems(siba_devices) - 1);
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bwn_bcma,
bcma_devices, sizeof(bcma_devices[0]), nitems(bcma_devices) - 1);
DRIVER_MODULE(bhndb, bwn_pci, bhndb_pci_driver, bhndb_devclass, NULL, NULL);

MODULE_DEPEND(bwn_pci, bwn, 1, 1, 1);
Expand Down

0 comments on commit edb76a6

Please sign in to comment.