Skip to content

Commit

Permalink
Add PNP info to PCI attachment of fxp 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: bsdimp#5
  • Loading branch information
bsdimp committed Jul 8, 2018
1 parent f5e61ff commit 920712e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/dev/fxp/if_fxp.c
Expand Up @@ -307,6 +307,8 @@ static devclass_t fxp_devclass;

DRIVER_MODULE_ORDERED(fxp, pci, fxp_driver, fxp_devclass, NULL, NULL,
SI_ORDER_ANY);
MODULE_PNP_INFO("U16:vendor;U16:device", pci, fxp, fxp_ident_table,
sizeof(fxp_ident_table[0]), nitems(fxp_ident_table) - 1);
DRIVER_MODULE(miibus, fxp, miibus_driver, miibus_devclass, NULL, NULL);

static struct resource_spec fxp_res_spec_mem[] = {
Expand Down

0 comments on commit 920712e

Please sign in to comment.