mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
if_re: Add PNP info for module
Add PNP info so it the module can be by devmatch(8) and automatically loaded. On non-x86 platforms it is not included in GENERIC. Reviewed by: imp MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D52557 (cherry picked from commit e13b5298ec87be03da2231bc7b44a6a4b976b850)
This commit is contained in:
parent
7db381a43f
commit
99461e26d8
1 changed files with 2 additions and 0 deletions
|
|
@ -353,6 +353,8 @@ static driver_t re_driver = {
|
|||
|
||||
DRIVER_MODULE(re, pci, re_driver, 0, 0);
|
||||
DRIVER_MODULE(miibus, re, miibus_driver, 0, 0);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device;U32:#;D:#", pci, re, re_devs,
|
||||
nitems(re_devs) - 1);
|
||||
|
||||
#define EE_SET(x) \
|
||||
CSR_WRITE_1(sc, RL_EECMD, \
|
||||
|
|
|
|||
Loading…
Reference in a new issue