The branch main has been updated by wma:

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

commit ca4a6606f0b8c4386e3c05a57e1370e2f215d5b9
Author:     Kornel Duleba <min...@semihalf.com>
AuthorDate: 2021-08-05 10:31:33 +0000
Commit:     Wojciech Macek <w...@freebsd.org>
CommitDate: 2021-10-01 09:24:08 +0000

    enetc_mdio: Fix devclass name
    
    Use correct devclass name, due to the mismatch miibus would attach
    to the wrong thing causing mii_attach to silently fail.
    
    Fixes: dfcaa2c18bf9 (enetc_mdio: Support building the driver ...)
---
 sys/dev/enetc/enetc_mdio_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/enetc/enetc_mdio_pci.c b/sys/dev/enetc/enetc_mdio_pci.c
index aac236d1c246..517efa9b9598 100644
--- a/sys/dev/enetc/enetc_mdio_pci.c
+++ b/sys/dev/enetc/enetc_mdio_pci.c
@@ -177,7 +177,7 @@ static device_method_t      enetc_mdio_pci_methods[] ={
 };
 
 static driver_t        enetc_mdio_pci_driver = {
-       "enetc_mdio_pci",
+       "enetc_mdio",
        enetc_mdio_pci_methods,
        sizeof(struct enetc_mdio_pci_softc),
 };
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to