Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2025 15:52:14 +0000
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Cc:        John Baldwin <jhb@FreeBSD.org>
Subject:   git: 2b587c0c8a93 - main - aq(4): Remove unused DRIVER_MODULE devclass
Message-ID:  <692c682e.393ee.14f61817@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by emaste:

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

commit 2b587c0c8a933cd110ae579366644a280c509b7f
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-11-13 03:23:27 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
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);


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?692c682e.393ee.14f61817>