Add PNP info to PCI attachment of dc driver
Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy <lakhanshiva@gmail.com> Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15995
This commit is contained in:
parent
ea72f463b2
commit
4d0f1c5658
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336105
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user