From fcdd3578c6010465075c607a24eb8b9c34622ab6 Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 8 Jul 2018 20:39:43 +0000 Subject: [PATCH] Add PNP info to PCI attachment of fxp driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Pull Request: https://github.com/bsdimp/freebsd/pull/5 git-svn-id: svn+ssh://svn.freebsd.org/base/head@336100 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/fxp/if_fxp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 2da51fda40a5c7..b89f8329a4f28e 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -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[] = {