From c2415e1c3100b1c72eadef6df039b6965cc0c8f4 Mon Sep 17 00:00:00 2001 From: Lakhan Shiva Date: Mon, 28 May 2018 15:05:25 +0530 Subject: [PATCH] Add PNP info to PCI attachments of bfe driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Pull Request: https://github.com/bsdimp/freebsd/pull/4 Url: https://reviews.freebsd.org/D15995 --- sys/dev/bfe/if_bfe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/bfe/if_bfe.c b/sys/dev/bfe/if_bfe.c index a6678992ae0d8e..be03095c873702 100644 --- a/sys/dev/bfe/if_bfe.c +++ b/sys/dev/bfe/if_bfe.c @@ -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); /*