Skip to content

Commit

Permalink
Add PNP info to PCI attachments of bfe driver
Browse files Browse the repository at this point in the history
Reviewed by: imp, chuck
Submitted by: Lakhan Shiva Kamireddy <lakhanshiva@gmail.com>
Sponsored by: Google, Inc. (GSoC 2018)
Pull Request: #4
Url: https://reviews.freebsd.org/D15995
  • Loading branch information
lakhanshiva authored and bsdimp committed Jul 8, 2018
1 parent 691e9ff commit c2415e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/dev/bfe/if_bfe.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ static driver_t bfe_driver = {
static devclass_t bfe_devclass;

DRIVER_MODULE(bfe, pci, bfe_driver, bfe_devclass, 0, 0);
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bfe, bfe_devs,
sizeof(bfe_devs[0]), nitems(bfe_devs) - 1);
DRIVER_MODULE(miibus, bfe, miibus_driver, miibus_devclass, 0, 0);

/*
Expand Down

0 comments on commit c2415e1

Please sign in to comment.