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
7e2fa9ef97
commit
e69a85fa27
@ -359,6 +359,8 @@ static devclass_t dc_devclass;
|
|||||||
|
|
||||||
DRIVER_MODULE_ORDERED(dc, pci, dc_driver, dc_devclass, NULL, NULL,
|
DRIVER_MODULE_ORDERED(dc, pci, dc_driver, dc_devclass, NULL, NULL,
|
||||||
SI_ORDER_ANY);
|
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);
|
DRIVER_MODULE(miibus, dc, miibus_driver, miibus_devclass, NULL, NULL);
|
||||||
|
|
||||||
#define DC_SETBIT(sc, reg, x) \
|
#define DC_SETBIT(sc, reg, x) \
|
||||||
|
Loading…
Reference in New Issue
Block a user