The branch main has been updated by emaste:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=2b587c0c8a933cd110ae579366644a280c509b7f

commit 2b587c0c8a933cd110ae579366644a280c509b7f
Author:     John Baldwin <[email protected]>
AuthorDate: 2025-11-13 03:23:27 +0000
Commit:     Ed Maste <[email protected]>
CommitDate: 2025-11-30 15:38:33 +0000

    aq(4): Remove unused DRIVER_MODULE devclass
---
 sys/dev/aq/aq_main.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/dev/aq/aq_main.c b/sys/dev/aq/aq_main.c
index 7345c7cc2d03..5712e347cff8 100644
--- a/sys/dev/aq/aq_main.c
+++ b/sys/dev/aq/aq_main.c
@@ -196,8 +196,12 @@ static driver_t aq_driver = {
        "aq", aq_methods, sizeof(struct aq_dev),
 };
 
+#if __FreeBSD_version >= 1400058
+DRIVER_MODULE(atlantic, pci, aq_driver, 0, 0);
+#else
 static devclass_t aq_devclass;
 DRIVER_MODULE(atlantic, pci, aq_driver, aq_devclass, 0, 0);
+#endif
 
 MODULE_DEPEND(atlantic, pci, 1, 1, 1);
 MODULE_DEPEND(atlantic, ether, 1, 1, 1);

Reply via email to