diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-07-08 08:30:07 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-07-08 08:30:07 +0000 |
commit | 5933bc71b6988d3e66dcf75f0357b3c91d811d5f (patch) | |
tree | e740c674cc3c00740be2b6816ff96cd20ac8767e /sys/dev | |
parent | 60a8c98bbfb37133182ccc45c00e59804aa9a673 (diff) |
The Atheros PHYs with model ID 7 are the AR8031/AR8033/AR8035 family.
Identify as AR8035 since that one has the lowest revision number.
ok mlarkin@, millert@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/mii/atphy.c | 6 | ||||
-rw-r--r-- | sys/dev/mii/miidevs | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/mii/atphy.c b/sys/dev/mii/atphy.c index 793dda9009d..7d166bae291 100644 --- a/sys/dev/mii/atphy.c +++ b/sys/dev/mii/atphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atphy.c,v 1.9 2015/03/14 03:38:47 jsg Exp $ */ +/* $OpenBSD: atphy.c,v 1.10 2016/07/08 08:30:06 kettenis Exp $ */ /*- * Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org> @@ -84,10 +84,10 @@ const struct mii_phy_funcs atphy_funcs = { static const struct mii_phydesc atphys[] = { { MII_OUI_ATHEROS, MII_MODEL_ATHEROS_F1, MII_STR_ATHEROS_F1 }, - { MII_OUI_ATHEROS, MII_MODEL_ATHEROS_F1_7, - MII_STR_ATHEROS_F1_7 }, { MII_OUI_ATHEROS, MII_MODEL_ATHEROS_F2, MII_STR_ATHEROS_F2 }, + { MII_OUI_ATHEROS, MII_MODEL_ATHEROS_AR8035, + MII_STR_ATHEROS_AR8035 }, { 0, 0, NULL }, }; diff --git a/sys/dev/mii/miidevs b/sys/dev/mii/miidevs index a4f3456f0c3..590d7cfdc39 100644 --- a/sys/dev/mii/miidevs +++ b/sys/dev/mii/miidevs @@ -1,4 +1,4 @@ -$OpenBSD: miidevs,v 1.124 2015/07/19 06:30:02 yuo Exp $ +$OpenBSD: miidevs,v 1.125 2016/07/08 08:30:06 kettenis Exp $ /* $NetBSD: miidevs,v 1.3 1998/11/05 03:43:43 thorpej Exp $ */ /*- @@ -120,7 +120,7 @@ model AGERE ET1011 0x0004 ET1011 10/100/1000baseT PHY /* Atheros PHYs */ model ATHEROS F1 0x0001 F1 10/100/1000 PHY model ATHEROS F2 0x0002 F2 10/100 PHY -model ATHEROS F1_7 0x0007 F1 10/100/1000 PHY +model ATHEROS AR8035 0x0007 AR8035 10/100/1000 PHY /* Altima PHYs */ model xxALTIMA AC_UNKNOWN 0x0001 AC_UNKNOWN 10/100 PHY |