mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue