From 4d0f1c565860d95e02451464bc148dbfca7c3e21 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 8 Jul 2018 20:40:06 +0000 Subject: [PATCH] Add PNP info to PCI attachment of dc 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/dc/if_dc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 54f98f51484a..e1593b02db25 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -359,6 +359,8 @@ static devclass_t dc_devclass; DRIVER_MODULE_ORDERED(dc, pci, dc_driver, dc_devclass, NULL, NULL, SI_ORDER_ANY); +MODULE_PNP_INFO("W32:vendor/device;U8:revision;D:#", pci, dc, dc_devs, + sizeof(dc_devs[0]), nitems(dc_devs) - 1); DRIVER_MODULE(miibus, dc, miibus_driver, miibus_devclass, NULL, NULL); #define DC_SETBIT(sc, reg, x) \