Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/mii 0x001374 is non-bitreversed value of Attansic OU...
details: https://anonhg.NetBSD.org/src/rev/e9655a7d9b45
branches: trunk
changeset: 970116:e9655a7d9b45
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Mar 13 04:44:34 2020 +0000
description:
0x001374 is non-bitreversed value of Attansic OUI(0x00c82e).
Attansic/Atheros correctly uses ID1 and ID2 register, so delete all 0x001374
related entries.
diffstat:
sys/dev/mii/atphy.c | 5 ++---
sys/dev/mii/miidevs | 9 ++-------
2 files changed, 4 insertions(+), 10 deletions(-)
diffs (56 lines):
diff -r 24ec9a4e1c18 -r e9655a7d9b45 sys/dev/mii/atphy.c
--- a/sys/dev/mii/atphy.c Fri Mar 13 04:43:03 2020 +0000
+++ b/sys/dev/mii/atphy.c Fri Mar 13 04:44:34 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atphy.c,v 1.27 2019/12/13 08:30:26 msaitoh Exp $ */
+/* $NetBSD: atphy.c,v 1.28 2020/03/13 04:44:34 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.27 2019/12/13 08:30:26 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.28 2020/03/13 04:44:34 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -103,7 +103,6 @@
};
static const struct mii_phydesc atphys[] = {
- MII_PHY_DESC(ATHEROS, F1),
MII_PHY_DESC(ATTANSIC, L1),
MII_PHY_DESC(ATTANSIC, L2),
MII_PHY_DESC(ATTANSIC, AR8021),
diff -r 24ec9a4e1c18 -r e9655a7d9b45 sys/dev/mii/miidevs
--- a/sys/dev/mii/miidevs Fri Mar 13 04:43:03 2020 +0000
+++ b/sys/dev/mii/miidevs Fri Mar 13 04:44:34 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: miidevs,v 1.165 2020/03/13 04:43:03 msaitoh Exp $
+$NetBSD: miidevs,v 1.166 2020/03/13 04:44:34 msaitoh Exp $
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -66,7 +66,6 @@
oui ALTIMA 0x0010a9 Altima Communications
oui ENABLESEMI 0x0010dd Enable Semiconductor
oui SUNPLUS 0x001105 Sunplus Technology
-oui ATHEROS 0x001374 Atheros
oui TERANETICS 0x0014a6 Teranetics
oui RALINK2 0x0017a5 Ralink Technology
oui AQUANTIA 0x0017b6 Aquantia Corporation
@@ -150,11 +149,7 @@
model AMLOGIC GXL 0x0000 Meson GXL internal PHY
model xxAMLOGIC GXL 0x0000 Meson GXL internal PHY
-/* Atheros PHYs */
-model ATHEROS F1 0x0001 F1 10/100/1000 PHY
-model ATHEROS F2 0x0002 F2 10/100 PHY
-
-/* Attansic PHYs */
+/* Attansic/Atheros PHYs */
model ATTANSIC L1 0x0001 L1 10/100/1000 PHY
model ATTANSIC L2 0x0002 L2 10/100 PHY
model ATTANSIC AR8021 0x0004 Atheros AR8021 10/100/1000 PHY
Home |
Main Index |
Thread Index |
Old Index