Module Name: src Committed By: msaitoh Date: Mon Sep 2 12:48:52 UTC 2019
Modified Files: src/sys/dev/mii: atphy.c Log Message: s/etphy/atphy/. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/mii/atphy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/mii/atphy.c diff -u src/sys/dev/mii/atphy.c:1.22 src/sys/dev/mii/atphy.c:1.23 --- src/sys/dev/mii/atphy.c:1.22 Thu Apr 11 09:00:34 2019 +++ src/sys/dev/mii/atphy.c Mon Sep 2 12:48:52 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: atphy.c,v 1.22 2019/04/11 09:00:34 msaitoh Exp $ */ +/* $NetBSD: atphy.c,v 1.23 2019/09/02 12:48:52 msaitoh Exp $ */ /* $OpenBSD: atphy.c,v 1.1 2008/09/25 20:47:16 brad Exp $ */ /*- @@ -33,7 +33,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.22 2019/04/11 09:00:34 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.23 2019/09/02 12:48:52 msaitoh Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -90,7 +90,7 @@ const struct mii_phy_funcs atphy_funcs = atphy_service, atphy_status, atphy_reset, }; -static const struct mii_phydesc etphys[] = { +static const struct mii_phydesc atphys[] = { MII_PHY_DESC(ATHEROS, F1), MII_PHY_DESC(ATTANSIC, L1), MII_PHY_DESC(ATTANSIC, L2), @@ -118,7 +118,7 @@ atphy_match(device_t parent, cfdata_t ma { struct mii_attach_args *ma = aux; - if (mii_phy_match(ma, etphys) != NULL) + if (mii_phy_match(ma, atphys) != NULL) return 10; return 0; @@ -133,7 +133,7 @@ atphy_attach(device_t parent, device_t s const struct mii_phydesc *mpd; uint16_t bmsr; - mpd = mii_phy_match(ma, etphys); + mpd = mii_phy_match(ma, atphys); aprint_naive(": Media interface\n"); aprint_normal(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2));