Skip to content

Commit

Permalink
Add PNP info to PCI attachment of ae driver
Browse files Browse the repository at this point in the history
  • Loading branch information
lakhanshiva committed May 31, 2018
1 parent 7711ac3 commit 1e9821a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/dev/ae/if_ae.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ static driver_t ae_driver = {
static devclass_t ae_devclass;

DRIVER_MODULE(ae, pci, ae_driver, ae_devclass, 0, 0);
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ae, ae_devs,
sizeof(ae_devs[0]), nitems(ae_devs));
DRIVER_MODULE(miibus, ae, miibus_driver, miibus_devclass, 0, 0);
MODULE_DEPEND(ae, pci, 1, 1, 1);
MODULE_DEPEND(ae, ether, 1, 1, 1);
Expand Down

0 comments on commit 1e9821a

Please sign in to comment.