From 7e2fa9ef972d40c1b1dd57126b04ef357007fceb Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 8 Jul 2018 20:40:01 +0000 Subject: [PATCH] Add PNP info to PCI attachments of bge driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15995 --- sys/dev/bge/if_bge.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index f736eeb00790..d1a5244b5c21 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -547,6 +547,8 @@ static driver_t bge_driver = { static devclass_t bge_devclass; DRIVER_MODULE(bge, pci, bge_driver, bge_devclass, 0, 0); +MODULE_PNP_INFO("U16:vendor;U16:device", pci, bge, bge_devs, + sizeof(bge_devs), nitems(bge_devs) - 1); DRIVER_MODULE(miibus, bge, miibus_driver, miibus_devclass, 0, 0); static int bge_allow_asf = 1;