git: cce603cfca77 - main - if_rge: Add PNP info for module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Dec 2025 15:55:57 UTC
The branch main has been updated by olivier:
URL: https://cgit.FreeBSD.org/src/commit/?id=cce603cfca773c61f3e17ea38575f4ba0557792d
commit cce603cfca773c61f3e17ea38575f4ba0557792d
Author: Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2025-12-16 15:50:30 +0000
Commit: Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2025-12-16 15:50:30 +0000
if_rge: Add PNP info for module
Add PNP info so the module can be matched by devmatch(8) and automatically
loaded.
Reviewed by: adrian
Approved by: adrian
Differential Revision: https://reviews.freebsd.org/D54254
---
sys/dev/rge/if_rge.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/dev/rge/if_rge.c b/sys/dev/rge/if_rge.c
index b011968905a6..41a39f5bfb60 100644
--- a/sys/dev/rge/if_rge.c
+++ b/sys/dev/rge/if_rge.c
@@ -2681,3 +2681,5 @@ MODULE_DEPEND(rge, pci, 1, 1, 1);
MODULE_DEPEND(rge, ether, 1, 1, 1);
DRIVER_MODULE_ORDERED(rge, pci, rge_driver, NULL, NULL, SI_ORDER_ANY);
+MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, rge, rge_devices,
+ nitems(rge_devices) - 1);