From nobody Fri May 06 22:42:53 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 2C4811AB7B76; Fri, 6 May 2022 22:42:54 +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 4Kw5Ds5lWyz3vQv; Fri, 6 May 2022 22:42:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876974; 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=oCo/UuoWL4/44M2GQ+n1qMni0CULkFRbaq3CTVVtX6A=; b=Es3qdcQ8H+Moa/yvaoqneMSO0XSJhjNrJA0Q/DZbuoqj8klue3f6G12+Pi0i8lwufIyi26 y7nw18Y+N9SScFGqL/BM5gUREzDEKw1YhYfUDFbT4LkAlba0VMAM2G3uDnke2eXLskXoLp 8oNhyQSgG+YvySKT/6ZD6TqBkAHryaE3Qo5BGoRlM0HmWA+z/5BbsXq94Mv0ARI3PT9/ho 8M65ezARHX2moxHcHBtKTQjnYMxhIn+4ritlM4WGtEdapvheuXMA/YVnr+zfhhHGb1l0jb 5SfTf/8zW7dnuuFuHjwk32d8IzOcRCvNuWRJZawp0NybljpicmRl1dvBsHgzCw== 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 46D1724B04; Fri, 6 May 2022 22:42:53 +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 246Mgr0B018957; Fri, 6 May 2022 22:42:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246Mgruj018956; Fri, 6 May 2022 22:42:53 GMT (envelope-from git) Date: Fri, 6 May 2022 22:42:53 GMT Message-Id: <202205062242.246Mgruj018956@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: 8933f7d60077 - main - Remove unused mdio_devclass. 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: 8933f7d6007768df741d4ebba87e3d5c9e78ee9c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876974; 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=oCo/UuoWL4/44M2GQ+n1qMni0CULkFRbaq3CTVVtX6A=; b=sDAU0MaK/Vjv0GF3MMkziMBMnsL3kwrw6JL4afOnOxAiD4V3KctnPjeFjZQHmCimlbSxLA F6SX+qlGoTqeU2YB5EXpEr/vRm2a3iAQ5iMYqW3kWYu9/OPwiGQdHb0TgW1yVGmnmTCnh1 F+IQXgagsY5AtoRMmlbeF8Ix/CM8NT/M1p6uDVoddX1gu5walCVvWh6KliaTRqKlAY7aPg DjQWuC4ZdCh9pQ/H9naIzTPmNjWwKJMfhvO+Fk6NAmUfmx/lBkwgcJDcuk4Ir7w/BuU5HV BcGlW9P3sjw/MWwOXyw2W8vtTo4yLr7LIDQ46cBEVW7DmLbsiQ7u9vaz7A5tNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651876974; a=rsa-sha256; cv=none; b=oqRvwcfMz1vjJ4iX/TeLP96OMfhKV7PFXpy77HkmmRlWV06HhTvMhBVGdUc7RPu2SBux2i Ny8cDXG10q+Jjxp5kzuas5oM181VnF+h+taq5luWx6NHamy7PVpugZyV1AT2N3uh9nXDVx 0UdmCl50yCbyu4AdY1TZ5TuzSkzQZlJesvUI5qIdPrKZecCzS9KjxtVvY2D2PusiCz21AU VUmSJVZ1We320pqeh+boFTl/Z2TuAfYlw5LN++qMi98oTqni5RcpN6hM56WxCYo4/SRshk PIyTrWYwTfueKWbKVKz7p5qo3pGLDgDXeklSH9upuJZGHGrbGltDN2FnzoSa9Q== 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=8933f7d6007768df741d4ebba87e3d5c9e78ee9c commit 8933f7d6007768df741d4ebba87e3d5c9e78ee9c Author: John Baldwin AuthorDate: 2022-04-19 19:20:33 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:28 +0000 Remove unused mdio_devclass. --- sys/dev/etherswitch/ar40xx/ar40xx_main.c | 2 +- sys/dev/etherswitch/arswitch/arswitch.c | 2 +- sys/dev/etherswitch/e6000sw/e6060sw.c | 2 +- sys/dev/etherswitch/infineon/adm6996fc.c | 2 +- sys/dev/etherswitch/ip17x/ip17x.c | 2 +- sys/dev/etherswitch/mtkswitch/mtkswitch.c | 2 +- sys/dev/etherswitch/rtl8366/rtl8366rb.c | 2 +- sys/dev/etherswitch/ukswitch/ukswitch.c | 2 +- sys/dev/mdio/mdio.c | 2 -- sys/dev/mdio/mdio.h | 1 - sys/dev/mge/if_mge.c | 2 +- sys/dev/neta/if_mvneta.c | 2 +- sys/dev/rt/if_rt.c | 2 +- 13 files changed, 11 insertions(+), 14 deletions(-) diff --git a/sys/dev/etherswitch/ar40xx/ar40xx_main.c b/sys/dev/etherswitch/ar40xx/ar40xx_main.c index 68a9f0207b55..9daf2e355469 100644 --- a/sys/dev/etherswitch/ar40xx/ar40xx_main.c +++ b/sys/dev/etherswitch/ar40xx/ar40xx_main.c @@ -960,7 +960,7 @@ static devclass_t ar40xx_devclass; DRIVER_MODULE(ar40xx, simplebus, ar40xx_driver, ar40xx_devclass, 0, 0); DRIVER_MODULE(ar40xx, ofwbus, ar40xx_driver, ar40xx_devclass, 0, 0); DRIVER_MODULE(miibus, ar40xx, miibus_driver, 0, 0); -DRIVER_MODULE(mdio, ar40xx, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, ar40xx, mdio_driver, 0, 0); DRIVER_MODULE(etherswitch, ar40xx, etherswitch_driver, etherswitch_devclass, 0, 0); MODULE_DEPEND(ar40xx, mdio, 1, 1, 1); MODULE_DEPEND(ar40xx, miibus, 1, 1, 1); diff --git a/sys/dev/etherswitch/arswitch/arswitch.c b/sys/dev/etherswitch/arswitch/arswitch.c index 54d680da3e26..7202d22f1582 100644 --- a/sys/dev/etherswitch/arswitch/arswitch.c +++ b/sys/dev/etherswitch/arswitch/arswitch.c @@ -1348,7 +1348,7 @@ static devclass_t arswitch_devclass; DRIVER_MODULE(arswitch, mdio, arswitch_driver, arswitch_devclass, 0, 0); DRIVER_MODULE(miibus, arswitch, miibus_driver, 0, 0); -DRIVER_MODULE(mdio, arswitch, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, arswitch, mdio_driver, 0, 0); DRIVER_MODULE(etherswitch, arswitch, etherswitch_driver, etherswitch_devclass, 0, 0); MODULE_VERSION(arswitch, 1); MODULE_DEPEND(arswitch, miibus, 1, 1, 1); /* XXX which versions? */ diff --git a/sys/dev/etherswitch/e6000sw/e6060sw.c b/sys/dev/etherswitch/e6000sw/e6060sw.c index 9ee8e3c5c601..66cfa7007318 100644 --- a/sys/dev/etherswitch/e6000sw/e6060sw.c +++ b/sys/dev/etherswitch/e6000sw/e6060sw.c @@ -1026,7 +1026,7 @@ static devclass_t e6060sw_devclass; DRIVER_MODULE(e6060sw, mdio, e6060sw_driver, e6060sw_devclass, 0, 0); DRIVER_MODULE(miibus, e6060sw, miibus_driver, 0, 0); -DRIVER_MODULE(mdio, e6060sw, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, e6060sw, mdio_driver, 0, 0); DRIVER_MODULE(etherswitch, e6060sw, etherswitch_driver, etherswitch_devclass, 0, 0); MODULE_VERSION(e6060sw, 1); MODULE_DEPEND(e6060sw, miibus, 1, 1, 1); /* XXX which versions? */ diff --git a/sys/dev/etherswitch/infineon/adm6996fc.c b/sys/dev/etherswitch/infineon/adm6996fc.c index 9cc8662c3c05..86206ae4747e 100644 --- a/sys/dev/etherswitch/infineon/adm6996fc.c +++ b/sys/dev/etherswitch/infineon/adm6996fc.c @@ -856,7 +856,7 @@ static devclass_t adm6996fc_devclass; DRIVER_MODULE(adm6996fc, mdio, adm6996fc_driver, adm6996fc_devclass, 0, 0); DRIVER_MODULE(miibus, adm6996fc, miibus_driver, 0, 0); -DRIVER_MODULE(mdio, adm6996fc, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, adm6996fc, mdio_driver, 0, 0); DRIVER_MODULE(etherswitch, adm6996fc, etherswitch_driver, etherswitch_devclass, 0, 0); MODULE_VERSION(adm6996fc, 1); diff --git a/sys/dev/etherswitch/ip17x/ip17x.c b/sys/dev/etherswitch/ip17x/ip17x.c index 5baeb08d752c..48098fdd61b3 100644 --- a/sys/dev/etherswitch/ip17x/ip17x.c +++ b/sys/dev/etherswitch/ip17x/ip17x.c @@ -656,7 +656,7 @@ MODULE_VERSION(ip17x, 1); #ifdef FDT MODULE_DEPEND(ip17x, mdio, 1, 1, 1); /* XXX which versions? */ #else -DRIVER_MODULE(mdio, ip17x, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, ip17x, mdio_driver, 0, 0); MODULE_DEPEND(ip17x, miibus, 1, 1, 1); /* XXX which versions? */ MODULE_DEPEND(ip17x, etherswitch, 1, 1, 1); /* XXX which versions? */ #endif diff --git a/sys/dev/etherswitch/mtkswitch/mtkswitch.c b/sys/dev/etherswitch/mtkswitch/mtkswitch.c index d0633535dee6..53d426e32ec1 100644 --- a/sys/dev/etherswitch/mtkswitch/mtkswitch.c +++ b/sys/dev/etherswitch/mtkswitch/mtkswitch.c @@ -667,7 +667,7 @@ static devclass_t mtkswitch_devclass; DRIVER_MODULE(mtkswitch, simplebus, mtkswitch_driver, mtkswitch_devclass, 0, 0); DRIVER_MODULE(miibus, mtkswitch, miibus_driver, 0, 0); -DRIVER_MODULE(mdio, mtkswitch, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, mtkswitch, mdio_driver, 0, 0); DRIVER_MODULE(etherswitch, mtkswitch, etherswitch_driver, etherswitch_devclass, 0, 0); MODULE_VERSION(mtkswitch, 1); diff --git a/sys/dev/etherswitch/rtl8366/rtl8366rb.c b/sys/dev/etherswitch/rtl8366/rtl8366rb.c index 6bebee26dcd1..0a50359bd9eb 100644 --- a/sys/dev/etherswitch/rtl8366/rtl8366rb.c +++ b/sys/dev/etherswitch/rtl8366/rtl8366rb.c @@ -961,7 +961,7 @@ static devclass_t rtl8366rb_devclass; DRIVER_MODULE(rtl8366rb, iicbus, rtl8366rb_driver, rtl8366rb_devclass, 0, 0); DRIVER_MODULE(miibus, rtl8366rb, miibus_driver, 0, 0); -DRIVER_MODULE(mdio, rtl8366rb, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, rtl8366rb, mdio_driver, 0, 0); DRIVER_MODULE(etherswitch, rtl8366rb, etherswitch_driver, etherswitch_devclass, 0, 0); MODULE_VERSION(rtl8366rb, 1); MODULE_DEPEND(rtl8366rb, iicbus, 1, 1, 1); /* XXX which versions? */ diff --git a/sys/dev/etherswitch/ukswitch/ukswitch.c b/sys/dev/etherswitch/ukswitch/ukswitch.c index 1c8be6660e2e..b0d302b76e9b 100644 --- a/sys/dev/etherswitch/ukswitch/ukswitch.c +++ b/sys/dev/etherswitch/ukswitch/ukswitch.c @@ -577,7 +577,7 @@ static devclass_t ukswitch_devclass; DRIVER_MODULE(ukswitch, mdio, ukswitch_driver, ukswitch_devclass, 0, 0); DRIVER_MODULE(miibus, ukswitch, miibus_driver, 0, 0); -DRIVER_MODULE(mdio, ukswitch, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, ukswitch, mdio_driver, 0, 0); DRIVER_MODULE(etherswitch, ukswitch, etherswitch_driver, etherswitch_devclass, 0, 0); MODULE_VERSION(ukswitch, 1); MODULE_DEPEND(ukswitch, miibus, 1, 1, 1); /* XXX which versions? */ diff --git a/sys/dev/mdio/mdio.c b/sys/dev/mdio/mdio.c index 5798c7490744..2dda893bd662 100644 --- a/sys/dev/mdio/mdio.c +++ b/sys/dev/mdio/mdio.c @@ -132,6 +132,4 @@ driver_t mdio_driver = { 0 }; -devclass_t mdio_devclass; - MODULE_VERSION(mdio, 1); diff --git a/sys/dev/mdio/mdio.h b/sys/dev/mdio/mdio.h index c38ff487dc81..7e1eec145fcc 100644 --- a/sys/dev/mdio/mdio.h +++ b/sys/dev/mdio/mdio.h @@ -30,7 +30,6 @@ #define __DEV_MDIO_MDIO_H__ extern driver_t mdio_driver; -extern devclass_t mdio_devclass; #define MDIO_DEVADDR_NONE -1 /**< Use clause 22 register access */ diff --git a/sys/dev/mge/if_mge.c b/sys/dev/mge/if_mge.c index 937b4d63121f..da951b734fd9 100644 --- a/sys/dev/mge/if_mge.c +++ b/sys/dev/mge/if_mge.c @@ -179,7 +179,7 @@ static int switch_attached = 0; DRIVER_MODULE(mge, simplebus, mge_driver, mge_devclass, 0, 0); DRIVER_MODULE(miibus, mge, miibus_driver, 0, 0); -DRIVER_MODULE(mdio, mge, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, mge, mdio_driver, 0, 0); MODULE_DEPEND(mge, ether, 1, 1, 1); MODULE_DEPEND(mge, miibus, 1, 1, 1); MODULE_DEPEND(mge, mdio, 1, 1, 1); diff --git a/sys/dev/neta/if_mvneta.c b/sys/dev/neta/if_mvneta.c index bfdb2c545307..c2eb32947716 100644 --- a/sys/dev/neta/if_mvneta.c +++ b/sys/dev/neta/if_mvneta.c @@ -221,7 +221,7 @@ static device_method_t mvneta_methods[] = { DEFINE_CLASS_0(mvneta, mvneta_driver, mvneta_methods, sizeof(struct mvneta_softc)); DRIVER_MODULE(miibus, mvneta, miibus_driver, 0, 0); -DRIVER_MODULE(mdio, mvneta, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, mvneta, mdio_driver, 0, 0); MODULE_DEPEND(mvneta, mdio, 1, 1, 1); MODULE_DEPEND(mvneta, ether, 1, 1, 1); MODULE_DEPEND(mvneta, miibus, 1, 1, 1); diff --git a/sys/dev/rt/if_rt.c b/sys/dev/rt/if_rt.c index 87f0bce6c425..67559d853586 100644 --- a/sys/dev/rt/if_rt.c +++ b/sys/dev/rt/if_rt.c @@ -2902,7 +2902,7 @@ static devclass_t rtmdio_devclass; DRIVER_MODULE(miiproxy, rt, miiproxy_driver, miiproxy_devclass, 0, 0); DRIVER_MODULE(rtmdio, simplebus, rtmdio_driver, rtmdio_devclass, 0, 0); -DRIVER_MODULE(mdio, rtmdio, mdio_driver, mdio_devclass, 0, 0); +DRIVER_MODULE(mdio, rtmdio, mdio_driver, 0, 0); static int rtmdio_probe(device_t dev)