From nobody Fri May 6 22:43:42 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8494C1AB9F5D; Fri, 6 May 2022 22:43:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kw5Fp5VK8z3vrH; Fri, 6 May 2022 22:43:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iOpgMtZ3MhTG3dklWmj5KiCQc4hdXiYtVxRmBhkxSYc=; b=GsFi2kV7gw3efeUDsp/5Ob4Ldlvi7H0o8aFaQuKieJCe7RjqwsCJiJ6w0utz1SUIurIgb8 7tBeDYjPNwgkCqrc4Xvr8dQTD4HiOxpt2zao7wDlSvMJBvYsclQGLzfshX2BhCRuq7w84D FzBQHK+kvJO1LBgf6EkkujAdypgWFZUt5cqkoItoMIqiqtSk7a1ZEzYnvrzLXPpSM7Horp WZKwSSnquQTwFSSpxx3LAGo8MAARrPh3Z1nUIq9ueSzX08O5L0qJvGmhNQb3jHzxMkXXg7 Q/yk8kO3jtZvoxGBXgyrxqIH/IN4YPE6eiclrgITDKj3Y4zmx+/bb3p3C0CAZw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5975724A26; Fri, 6 May 2022 22:43:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 246Mhggl020037; Fri, 6 May 2022 22:43:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhgLV020036; Fri, 6 May 2022 22:43:42 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:42 GMT Message-Id: <202205062243.246MhgLV020036@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: f438c2ff057f - main - mii: Remove unused devclass arguments to DRIVER_MODULE. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f438c2ff057f616f7e0eec1037697c00a63bc5b5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iOpgMtZ3MhTG3dklWmj5KiCQc4hdXiYtVxRmBhkxSYc=; b=eOuWExQ6xkPwhk5k8PKtKnaWEYfvRN+HtkxZrWSBxJNfNecotbhdWwK0t4z2CcIkj8m8O3 WelshKmd+7gDIqCgLJoan40+eSxV9Soigjkum/zvKUDOGKtrelXlna45wg7nM1TirBvz1U yjHpNu3E24KkxnSTsnEyn2iUAtuk2gu7cr8FIM69YKT2Ew3XiiDq9GT8vu6p0USSumfZHz I/zp0/Yil95KoTXlzmcLFvTcvN1nvC8gwFVSsbIxMqAA6hq74spN8W9K4wzB64LAMCRVZD 5XlMe9ktwbNjf2+49Gq8L1Q8ex1HZQv9kDsuLWAtsW3PngoG1wsL9KoLdaKCjA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877023; a=rsa-sha256; cv=none; b=UhNckUo0To7lumUqjl5gkRr9Iydq2tkhi549ifHMQRzAHSJh8Zs2vlsb9Lv6LCqm7p+E80 K3GyCsryS1otD65q4uYTg9qOgw8ANNvRUvlqVBa4yZPPEVs2+/zcapAcS/v2eILMIB+Nc3 G9n4uWP90PV0UDJqYxNVTL9zR9hty1a1iJO8Dem0pxzFOZL5GcJaV6WZW3pcOqx5Tky+lW l8duEZwn1+RI6GwL6OAj3tDDFbCicNEFXzOVR0cBNO/VoCvBv7PT/Q5lqpxKWWmpOPg7fE ydN2dmbkhZvi9myPkJHGgnjLOL6iN4w1jSlWA6WkgovyV2U2+nN8yL2lDfBz/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f438c2ff057f616f7e0eec1037697c00a63bc5b5 commit f438c2ff057f616f7e0eec1037697c00a63bc5b5 Author: John Baldwin AuthorDate: 2022-04-20 16:55:06 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:31 +0000 mii: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/mii/acphy.c | 4 +--- sys/dev/mii/amphy.c | 4 +--- sys/dev/mii/atphy.c | 3 +-- sys/dev/mii/axphy.c | 4 +--- sys/dev/mii/bmtphy.c | 4 +--- sys/dev/mii/brgphy.c | 4 +--- sys/dev/mii/ciphy.c | 4 +--- sys/dev/mii/dp83822phy.c | 4 +--- sys/dev/mii/dp83867phy.c | 4 +--- sys/dev/mii/e1000phy.c | 3 +-- sys/dev/mii/gentbi.c | 4 +--- sys/dev/mii/icsphy.c | 4 +--- sys/dev/mii/ip1000phy.c | 3 +-- sys/dev/mii/jmphy.c | 3 +-- sys/dev/mii/lxtphy.c | 4 +--- sys/dev/mii/micphy.c | 4 +--- sys/dev/mii/nsgphy.c | 4 +--- sys/dev/mii/nsphy.c | 4 +--- sys/dev/mii/nsphyter.c | 4 +--- sys/dev/mii/pnaphy.c | 4 +--- sys/dev/mii/qsphy.c | 4 +--- sys/dev/mii/rdcphy.c | 4 +--- sys/dev/mii/rgephy.c | 4 +--- sys/dev/mii/rlphy.c | 4 +--- sys/dev/mii/rlswitch.c | 4 +--- sys/dev/mii/smcphy.c | 4 +--- sys/dev/mii/smscphy.c | 4 +--- sys/dev/mii/tdkphy.c | 4 +--- sys/dev/mii/truephy.c | 4 +--- sys/dev/mii/ukphy.c | 4 +--- sys/dev/mii/vscphy.c | 4 +--- sys/dev/mii/xmphy.c | 4 +--- 32 files changed, 32 insertions(+), 92 deletions(-) diff --git a/sys/dev/mii/acphy.c b/sys/dev/mii/acphy.c index 52caa37d3b61..65999b4edb6d 100644 --- a/sys/dev/mii/acphy.c +++ b/sys/dev/mii/acphy.c @@ -92,15 +92,13 @@ static device_method_t acphy_methods[] = { DEVMETHOD_END }; -static devclass_t acphy_devclass; - static driver_t acphy_driver = { "acphy", acphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(acphy, miibus, acphy_driver, acphy_devclass, 0, 0); +DRIVER_MODULE(acphy, miibus, acphy_driver, 0, 0); static int acphy_service(struct mii_softc *, struct mii_data *, int); static void acphy_reset(struct mii_softc *); diff --git a/sys/dev/mii/amphy.c b/sys/dev/mii/amphy.c index bd6b75e2b2b0..89f5aca3a4de 100644 --- a/sys/dev/mii/amphy.c +++ b/sys/dev/mii/amphy.c @@ -71,15 +71,13 @@ static device_method_t amphy_methods[] = { DEVMETHOD_END }; -static devclass_t amphy_devclass; - static driver_t amphy_driver = { "amphy", amphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(amphy, miibus, amphy_driver, amphy_devclass, 0, 0); +DRIVER_MODULE(amphy, miibus, amphy_driver, 0, 0); static int amphy_service(struct mii_softc *, struct mii_data *, int); static void amphy_status(struct mii_softc *); diff --git a/sys/dev/mii/atphy.c b/sys/dev/mii/atphy.c index fa729b6a75ca..d5d1ae3d3f9f 100644 --- a/sys/dev/mii/atphy.c +++ b/sys/dev/mii/atphy.c @@ -64,14 +64,13 @@ static device_method_t atphy_methods[] = { DEVMETHOD_END }; -static devclass_t atphy_devclass; static driver_t atphy_driver = { "atphy", atphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(atphy, miibus, atphy_driver, atphy_devclass, 0, 0); +DRIVER_MODULE(atphy, miibus, atphy_driver, 0, 0); static int atphy_service(struct mii_softc *, struct mii_data *, int); static void atphy_status(struct mii_softc *); diff --git a/sys/dev/mii/axphy.c b/sys/dev/mii/axphy.c index 2e32486f1eea..7c32939589e9 100644 --- a/sys/dev/mii/axphy.c +++ b/sys/dev/mii/axphy.c @@ -60,15 +60,13 @@ static device_method_t axphy_methods[] = { DEVMETHOD_END }; -static devclass_t axphy_devclass; - static driver_t axphy_driver = { "axphy", axphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(axphy, miibus, axphy_driver, axphy_devclass, 0, 0); +DRIVER_MODULE(axphy, miibus, axphy_driver, 0, 0); static int axphy_service(struct mii_softc *, struct mii_data *, int); static void axphy_status(struct mii_softc *); diff --git a/sys/dev/mii/bmtphy.c b/sys/dev/mii/bmtphy.c index 5fe34a616434..9822df4bf30f 100644 --- a/sys/dev/mii/bmtphy.c +++ b/sys/dev/mii/bmtphy.c @@ -96,15 +96,13 @@ static device_method_t bmtphy_methods[] = { DEVMETHOD_END }; -static devclass_t bmtphy_devclass; - static driver_t bmtphy_driver = { "bmtphy", bmtphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(bmtphy, miibus, bmtphy_driver, bmtphy_devclass, 0, 0); +DRIVER_MODULE(bmtphy, miibus, bmtphy_driver, 0, 0); static int bmtphy_service(struct mii_softc *, struct mii_data *, int); static void bmtphy_status(struct mii_softc *); diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 58bf18b4e984..74f1dbbfe5b7 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -89,15 +89,13 @@ static device_method_t brgphy_methods[] = { DEVMETHOD_END }; -static devclass_t brgphy_devclass; - static driver_t brgphy_driver = { "brgphy", brgphy_methods, sizeof(struct brgphy_softc) }; -DRIVER_MODULE(brgphy, miibus, brgphy_driver, brgphy_devclass, 0, 0); +DRIVER_MODULE(brgphy, miibus, brgphy_driver, 0, 0); static int brgphy_service(struct mii_softc *, struct mii_data *, int); static void brgphy_setmedia(struct mii_softc *, int); diff --git a/sys/dev/mii/ciphy.c b/sys/dev/mii/ciphy.c index b91b19f8c89a..62f492a36e19 100644 --- a/sys/dev/mii/ciphy.c +++ b/sys/dev/mii/ciphy.c @@ -72,15 +72,13 @@ static device_method_t ciphy_methods[] = { DEVMETHOD_END }; -static devclass_t ciphy_devclass; - static driver_t ciphy_driver = { "ciphy", ciphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(ciphy, miibus, ciphy_driver, ciphy_devclass, 0, 0); +DRIVER_MODULE(ciphy, miibus, ciphy_driver, 0, 0); static int ciphy_service(struct mii_softc *, struct mii_data *, int); static void ciphy_status(struct mii_softc *); diff --git a/sys/dev/mii/dp83822phy.c b/sys/dev/mii/dp83822phy.c index 4980f06df1dd..6def0ee3f3d5 100644 --- a/sys/dev/mii/dp83822phy.c +++ b/sys/dev/mii/dp83822phy.c @@ -209,12 +209,10 @@ static device_method_t dp_methods[] = { DEVMETHOD_END }; -static devclass_t dp_devclass; - static driver_t dp_driver = { "dp83822phy", dp_methods, sizeof(struct dp83822_softc) }; -DRIVER_MODULE(dp83822phy, miibus, dp_driver, dp_devclass, 0, 0); +DRIVER_MODULE(dp83822phy, miibus, dp_driver, 0, 0); diff --git a/sys/dev/mii/dp83867phy.c b/sys/dev/mii/dp83867phy.c index 297ac0f83ae1..a2fdcd392d92 100644 --- a/sys/dev/mii/dp83867phy.c +++ b/sys/dev/mii/dp83867phy.c @@ -285,12 +285,10 @@ static device_method_t dp_methods[] = { DEVMETHOD_END }; -static devclass_t dp_devclass; - static driver_t dp_driver = { "dp83867phy", dp_methods, sizeof(struct dp83867_softc) }; -DRIVER_MODULE(dp83867phy, miibus, dp_driver, dp_devclass, 0, 0); +DRIVER_MODULE(dp83867phy, miibus, dp_driver, 0, 0); diff --git a/sys/dev/mii/e1000phy.c b/sys/dev/mii/e1000phy.c index f7d5af271b91..f803fcfb1324 100644 --- a/sys/dev/mii/e1000phy.c +++ b/sys/dev/mii/e1000phy.c @@ -76,14 +76,13 @@ static device_method_t e1000phy_methods[] = { DEVMETHOD_END }; -static devclass_t e1000phy_devclass; static driver_t e1000phy_driver = { "e1000phy", e1000phy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(e1000phy, miibus, e1000phy_driver, e1000phy_devclass, 0, 0); +DRIVER_MODULE(e1000phy, miibus, e1000phy_driver, 0, 0); static int e1000phy_service(struct mii_softc *, struct mii_data *, int); static void e1000phy_status(struct mii_softc *); diff --git a/sys/dev/mii/gentbi.c b/sys/dev/mii/gentbi.c index 69190fefa94b..fa4fa773d99e 100644 --- a/sys/dev/mii/gentbi.c +++ b/sys/dev/mii/gentbi.c @@ -100,15 +100,13 @@ static device_method_t gentbi_methods[] = { DEVMETHOD_END }; -static devclass_t gentbi_devclass; - static driver_t gentbi_driver = { "gentbi", gentbi_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(gentbi, miibus, gentbi_driver, gentbi_devclass, 0, 0); +DRIVER_MODULE(gentbi, miibus, gentbi_driver, 0, 0); static int gentbi_service(struct mii_softc *, struct mii_data *, int); static void gentbi_status(struct mii_softc *); diff --git a/sys/dev/mii/icsphy.c b/sys/dev/mii/icsphy.c index 91745858b2ea..58ceda21d828 100644 --- a/sys/dev/mii/icsphy.c +++ b/sys/dev/mii/icsphy.c @@ -94,15 +94,13 @@ static device_method_t icsphy_methods[] = { DEVMETHOD_END }; -static devclass_t icsphy_devclass; - static driver_t icsphy_driver = { "icsphy", icsphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(icsphy, miibus, icsphy_driver, icsphy_devclass, 0, 0); +DRIVER_MODULE(icsphy, miibus, icsphy_driver, 0, 0); static int icsphy_service(struct mii_softc *, struct mii_data *, int); static void icsphy_status(struct mii_softc *); diff --git a/sys/dev/mii/ip1000phy.c b/sys/dev/mii/ip1000phy.c index ad0c4805a552..22fe5940cdfe 100644 --- a/sys/dev/mii/ip1000phy.c +++ b/sys/dev/mii/ip1000phy.c @@ -70,14 +70,13 @@ static device_method_t ip1000phy_methods[] = { DEVMETHOD_END }; -static devclass_t ip1000phy_devclass; static driver_t ip1000phy_driver = { "ip1000phy", ip1000phy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(ip1000phy, miibus, ip1000phy_driver, ip1000phy_devclass, 0, 0); +DRIVER_MODULE(ip1000phy, miibus, ip1000phy_driver, 0, 0); static int ip1000phy_service(struct mii_softc *, struct mii_data *, int); static void ip1000phy_status(struct mii_softc *); diff --git a/sys/dev/mii/jmphy.c b/sys/dev/mii/jmphy.c index ff6842562e0c..e39bed79ddb2 100644 --- a/sys/dev/mii/jmphy.c +++ b/sys/dev/mii/jmphy.c @@ -68,14 +68,13 @@ static device_method_t jmphy_methods[] = { DEVMETHOD_END }; -static devclass_t jmphy_devclass; static driver_t jmphy_driver = { "jmphy", jmphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(jmphy, miibus, jmphy_driver, jmphy_devclass, 0, 0); +DRIVER_MODULE(jmphy, miibus, jmphy_driver, 0, 0); static int jmphy_service(struct mii_softc *, struct mii_data *, int); static void jmphy_status(struct mii_softc *); diff --git a/sys/dev/mii/lxtphy.c b/sys/dev/mii/lxtphy.c index 31900cc5a34b..acb50c332edd 100644 --- a/sys/dev/mii/lxtphy.c +++ b/sys/dev/mii/lxtphy.c @@ -96,15 +96,13 @@ static device_method_t lxtphy_methods[] = { DEVMETHOD_END }; -static devclass_t lxtphy_devclass; - static driver_t lxtphy_driver = { "lxtphy", lxtphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(lxtphy, miibus, lxtphy_driver, lxtphy_devclass, 0, 0); +DRIVER_MODULE(lxtphy, miibus, lxtphy_driver, 0, 0); static int lxtphy_service(struct mii_softc *, struct mii_data *, int); static void lxtphy_status(struct mii_softc *); diff --git a/sys/dev/mii/micphy.c b/sys/dev/mii/micphy.c index 9ebb72f5b413..d8148ae4e6a4 100644 --- a/sys/dev/mii/micphy.c +++ b/sys/dev/mii/micphy.c @@ -95,15 +95,13 @@ static device_method_t micphy_methods[] = { DEVMETHOD_END }; -static devclass_t micphy_devclass; - static driver_t micphy_driver = { "micphy", micphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(micphy, miibus, micphy_driver, micphy_devclass, 0, 0); +DRIVER_MODULE(micphy, miibus, micphy_driver, 0, 0); static const struct mii_phydesc micphys[] = { MII_PHY_DESC(MICREL, KSZ8081), diff --git a/sys/dev/mii/nsgphy.c b/sys/dev/mii/nsgphy.c index 1e5f7a8557d1..90efd1cdc4be 100644 --- a/sys/dev/mii/nsgphy.c +++ b/sys/dev/mii/nsgphy.c @@ -88,15 +88,13 @@ static device_method_t nsgphy_methods[] = { DEVMETHOD_END }; -static devclass_t nsgphy_devclass; - static driver_t nsgphy_driver = { "nsgphy", nsgphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(nsgphy, miibus, nsgphy_driver, nsgphy_devclass, 0, 0); +DRIVER_MODULE(nsgphy, miibus, nsgphy_driver, 0, 0); static int nsgphy_service(struct mii_softc *, struct mii_data *,int); static void nsgphy_status(struct mii_softc *); diff --git a/sys/dev/mii/nsphy.c b/sys/dev/mii/nsphy.c index 8feab4f023f5..92b0013a7c9e 100644 --- a/sys/dev/mii/nsphy.c +++ b/sys/dev/mii/nsphy.c @@ -96,15 +96,13 @@ static device_method_t nsphy_methods[] = { DEVMETHOD_END }; -static devclass_t nsphy_devclass; - static driver_t nsphy_driver = { "nsphy", nsphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(nsphy, miibus, nsphy_driver, nsphy_devclass, 0, 0); +DRIVER_MODULE(nsphy, miibus, nsphy_driver, 0, 0); static int nsphy_service(struct mii_softc *, struct mii_data *, int); static void nsphy_status(struct mii_softc *); diff --git a/sys/dev/mii/nsphyter.c b/sys/dev/mii/nsphyter.c index 5bb5ea81e3be..b8489c23a285 100644 --- a/sys/dev/mii/nsphyter.c +++ b/sys/dev/mii/nsphyter.c @@ -99,15 +99,13 @@ static device_method_t nsphyter_methods[] = { DEVMETHOD_END }; -static devclass_t nsphyter_devclass; - static driver_t nsphyter_driver = { "nsphyter", nsphyter_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(nsphyter, miibus, nsphyter_driver, nsphyter_devclass, 0, 0); +DRIVER_MODULE(nsphyter, miibus, nsphyter_driver, 0, 0); static int nsphyter_service(struct mii_softc *, struct mii_data *, int); static void nsphyter_status(struct mii_softc *); diff --git a/sys/dev/mii/pnaphy.c b/sys/dev/mii/pnaphy.c index c03c57844985..1337a819c8a9 100644 --- a/sys/dev/mii/pnaphy.c +++ b/sys/dev/mii/pnaphy.c @@ -74,15 +74,13 @@ static device_method_t pnaphy_methods[] = { DEVMETHOD_END }; -static devclass_t pnaphy_devclass; - static driver_t pnaphy_driver = { "pnaphy", pnaphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(pnaphy, miibus, pnaphy_driver, pnaphy_devclass, 0, 0); +DRIVER_MODULE(pnaphy, miibus, pnaphy_driver, 0, 0); static int pnaphy_service(struct mii_softc *, struct mii_data *,int); diff --git a/sys/dev/mii/qsphy.c b/sys/dev/mii/qsphy.c index fd7ef15cbddc..910f0e38ee16 100644 --- a/sys/dev/mii/qsphy.c +++ b/sys/dev/mii/qsphy.c @@ -96,15 +96,13 @@ static device_method_t qsphy_methods[] = { DEVMETHOD_END }; -static devclass_t qsphy_devclass; - static driver_t qsphy_driver = { "qsphy", qsphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(qsphy, miibus, qsphy_driver, qsphy_devclass, 0, 0); +DRIVER_MODULE(qsphy, miibus, qsphy_driver, 0, 0); static int qsphy_service(struct mii_softc *, struct mii_data *, int); static void qsphy_reset(struct mii_softc *); diff --git a/sys/dev/mii/rdcphy.c b/sys/dev/mii/rdcphy.c index 1a7be03efacc..dd98c5b672c9 100644 --- a/sys/dev/mii/rdcphy.c +++ b/sys/dev/mii/rdcphy.c @@ -70,15 +70,13 @@ static device_method_t rdcphy_methods[] = { DEVMETHOD_END }; -static devclass_t rdcphy_devclass; - static driver_t rdcphy_driver = { "rdcphy", rdcphy_methods, sizeof(struct rdcphy_softc) }; -DRIVER_MODULE(rdcphy, miibus, rdcphy_driver, rdcphy_devclass, 0, 0); +DRIVER_MODULE(rdcphy, miibus, rdcphy_driver, 0, 0); static int rdcphy_service(struct mii_softc *, struct mii_data *, int); static void rdcphy_status(struct mii_softc *); diff --git a/sys/dev/mii/rgephy.c b/sys/dev/mii/rgephy.c index 362aa200cba0..02ede33caa03 100644 --- a/sys/dev/mii/rgephy.c +++ b/sys/dev/mii/rgephy.c @@ -75,15 +75,13 @@ static device_method_t rgephy_methods[] = { DEVMETHOD_END }; -static devclass_t rgephy_devclass; - static driver_t rgephy_driver = { "rgephy", rgephy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(rgephy, miibus, rgephy_driver, rgephy_devclass, 0, 0); +DRIVER_MODULE(rgephy, miibus, rgephy_driver, 0, 0); static int rgephy_service(struct mii_softc *, struct mii_data *, int); static void rgephy_status(struct mii_softc *); diff --git a/sys/dev/mii/rlphy.c b/sys/dev/mii/rlphy.c index 6433faf23142..641d6ad51c20 100644 --- a/sys/dev/mii/rlphy.c +++ b/sys/dev/mii/rlphy.c @@ -72,15 +72,13 @@ static device_method_t rlphy_methods[] = { DEVMETHOD_END }; -static devclass_t rlphy_devclass; - static driver_t rlphy_driver = { "rlphy", rlphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(rlphy, miibus, rlphy_driver, rlphy_devclass, 0, 0); +DRIVER_MODULE(rlphy, miibus, rlphy_driver, 0, 0); static int rlphy_service(struct mii_softc *, struct mii_data *, int); static void rlphy_status(struct mii_softc *); diff --git a/sys/dev/mii/rlswitch.c b/sys/dev/mii/rlswitch.c index 04c361eb1523..1afdf876d4c4 100644 --- a/sys/dev/mii/rlswitch.c +++ b/sys/dev/mii/rlswitch.c @@ -76,15 +76,13 @@ static device_method_t rlswitch_methods[] = { DEVMETHOD_END }; -static devclass_t rlswitch_devclass; - static driver_t rlswitch_driver = { "rlswitch", rlswitch_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(rlswitch, miibus, rlswitch_driver, rlswitch_devclass, 0, 0); +DRIVER_MODULE(rlswitch, miibus, rlswitch_driver, 0, 0); static int rlswitch_service(struct mii_softc *, struct mii_data *, int); static void rlswitch_status(struct mii_softc *); diff --git a/sys/dev/mii/smcphy.c b/sys/dev/mii/smcphy.c index 57b5eef0d968..a8edbe7412c4 100644 --- a/sys/dev/mii/smcphy.c +++ b/sys/dev/mii/smcphy.c @@ -69,15 +69,13 @@ static device_method_t smcphy_methods[] = { DEVMETHOD_END }; -static devclass_t smcphy_devclass; - static driver_t smcphy_driver = { "smcphy", smcphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(smcphy, miibus, smcphy_driver, smcphy_devclass, 0, 0); +DRIVER_MODULE(smcphy, miibus, smcphy_driver, 0, 0); static const struct mii_phydesc smcphys[] = { MII_PHY_DESC(SEEQ, 80220), diff --git a/sys/dev/mii/smscphy.c b/sys/dev/mii/smscphy.c index 25464b781441..63c894e3e497 100644 --- a/sys/dev/mii/smscphy.c +++ b/sys/dev/mii/smscphy.c @@ -67,15 +67,13 @@ static device_method_t smscphy_methods[] = { DEVMETHOD_END }; -static devclass_t smscphy_devclass; - static driver_t smscphy_driver = { "smscphy", smscphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(smscphy, miibus, smscphy_driver, smscphy_devclass, 0, 0); +DRIVER_MODULE(smscphy, miibus, smscphy_driver, 0, 0); static const struct mii_phydesc smscphys[] = { MII_PHY_DESC(SMC, LAN8710A), diff --git a/sys/dev/mii/tdkphy.c b/sys/dev/mii/tdkphy.c index 7812a518f4bb..3ddcff4d12e7 100644 --- a/sys/dev/mii/tdkphy.c +++ b/sys/dev/mii/tdkphy.c @@ -76,15 +76,13 @@ static device_method_t tdkphy_methods[] = { DEVMETHOD_END }; -static devclass_t tdkphy_devclass; - static driver_t tdkphy_driver = { "tdkphy", tdkphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(tdkphy, miibus, tdkphy_driver, tdkphy_devclass, 0, 0); +DRIVER_MODULE(tdkphy, miibus, tdkphy_driver, 0, 0); static int tdkphy_service(struct mii_softc *, struct mii_data *, int); static void tdkphy_status(struct mii_softc *); diff --git a/sys/dev/mii/truephy.c b/sys/dev/mii/truephy.c index 960a86baeeed..db7f17b80bbe 100644 --- a/sys/dev/mii/truephy.c +++ b/sys/dev/mii/truephy.c @@ -84,15 +84,13 @@ static const struct mii_phydesc truephys[] = { MII_PHY_END }; -static devclass_t truephy_devclass; - static driver_t truephy_driver = { "truephy", truephy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(truephy, miibus, truephy_driver, truephy_devclass, 0, 0); +DRIVER_MODULE(truephy, miibus, truephy_driver, 0, 0); static const struct mii_phy_funcs truephy_funcs = { truephy_service, diff --git a/sys/dev/mii/ukphy.c b/sys/dev/mii/ukphy.c index 22b8035f3091..9a5233ff3f8e 100644 --- a/sys/dev/mii/ukphy.c +++ b/sys/dev/mii/ukphy.c @@ -91,15 +91,13 @@ static device_method_t ukphy_methods[] = { DEVMETHOD_END }; -static devclass_t ukphy_devclass; - static driver_t ukphy_driver = { "ukphy", ukphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(ukphy, miibus, ukphy_driver, ukphy_devclass, 0, 0); +DRIVER_MODULE(ukphy, miibus, ukphy_driver, 0, 0); static int ukphy_service(struct mii_softc *, struct mii_data *, int); diff --git a/sys/dev/mii/vscphy.c b/sys/dev/mii/vscphy.c index b91cb408dae7..1e79bba9e63c 100644 --- a/sys/dev/mii/vscphy.c +++ b/sys/dev/mii/vscphy.c @@ -335,12 +335,10 @@ static device_method_t vscphy_methods[] = { DEVMETHOD_END }; -static devclass_t vscphy_devclass; - static driver_t vscphy_driver = { "vscphy", vscphy_methods, sizeof(struct vscphy_softc) }; -DRIVER_MODULE(vscphy, miibus, vscphy_driver, vscphy_devclass, 0, 0); +DRIVER_MODULE(vscphy, miibus, vscphy_driver, 0, 0); diff --git a/sys/dev/mii/xmphy.c b/sys/dev/mii/xmphy.c index c0c67e4d19e5..77043d0392c4 100644 --- a/sys/dev/mii/xmphy.c +++ b/sys/dev/mii/xmphy.c @@ -71,15 +71,13 @@ static device_method_t xmphy_methods[] = { DEVMETHOD_END }; -static devclass_t xmphy_devclass; - static driver_t xmphy_driver = { "xmphy", xmphy_methods, sizeof(struct mii_softc) }; -DRIVER_MODULE(xmphy, miibus, xmphy_driver, xmphy_devclass, 0, 0); +DRIVER_MODULE(xmphy, miibus, xmphy_driver, 0, 0); static int xmphy_service(struct mii_softc *, struct mii_data *, int); static void xmphy_status(struct mii_softc *);