Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/mii use the new "xx" prefixed OUIs because the mappi...
details: https://anonhg.NetBSD.org/src/rev/ba045fd961f6
branches: trunk
changeset: 472962:ba045fd961f6
user: drochner <drochner%NetBSD.org@localhost>
date: Fri May 14 11:40:28 1999 +0000
description:
use the new "xx" prefixed OUIs because the mapping to the ID register
bits differs from the MII_OUI() way
diffstat:
sys/dev/mii/icsphy.c | 8 ++++----
sys/dev/mii/lxtphy.c | 8 ++++----
sys/dev/mii/sqphy.c | 8 ++++----
sys/dev/mii/tlphy.c | 8 ++++----
4 files changed, 16 insertions(+), 16 deletions(-)
diffs (116 lines):
diff -r b4133da9fdb3 -r ba045fd961f6 sys/dev/mii/icsphy.c
--- a/sys/dev/mii/icsphy.c Fri May 14 11:38:05 1999 +0000
+++ b/sys/dev/mii/icsphy.c Fri May 14 11:40:28 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: icsphy.c,v 1.9 1999/04/23 04:24:32 thorpej Exp $ */
+/* $NetBSD: icsphy.c,v 1.10 1999/05/14 11:40:28 drochner Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -106,8 +106,8 @@
{
struct mii_attach_args *ma = aux;
- if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_ICS &&
- MII_MODEL(ma->mii_id2) == MII_MODEL_ICS_1890)
+ if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxICS &&
+ MII_MODEL(ma->mii_id2) == MII_MODEL_xxICS_1890)
return (10);
return (0);
@@ -122,7 +122,7 @@
struct mii_attach_args *ma = aux;
struct mii_data *mii = ma->mii_data;
- printf(": %s, rev. %d\n", MII_STR_ICS_1890,
+ printf(": %s, rev. %d\n", MII_STR_xxICS_1890,
MII_REV(ma->mii_id2));
sc->mii_inst = mii->mii_instance;
diff -r b4133da9fdb3 -r ba045fd961f6 sys/dev/mii/lxtphy.c
--- a/sys/dev/mii/lxtphy.c Fri May 14 11:38:05 1999 +0000
+++ b/sys/dev/mii/lxtphy.c Fri May 14 11:40:28 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lxtphy.c,v 1.10 1999/04/23 04:24:32 thorpej Exp $ */
+/* $NetBSD: lxtphy.c,v 1.11 1999/05/14 11:40:28 drochner Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -106,8 +106,8 @@
{
struct mii_attach_args *ma = aux;
- if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_LEVEL1 &&
- MII_MODEL(ma->mii_id2) == MII_MODEL_LEVEL1_LXT970)
+ if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxLEVEL1 &&
+ MII_MODEL(ma->mii_id2) == MII_MODEL_xxLEVEL1_LXT970)
return (10);
return (0);
@@ -122,7 +122,7 @@
struct mii_attach_args *ma = aux;
struct mii_data *mii = ma->mii_data;
- printf(": %s, rev. %d\n", MII_STR_LEVEL1_LXT970,
+ printf(": %s, rev. %d\n", MII_STR_xxLEVEL1_LXT970,
MII_REV(ma->mii_id2));
sc->mii_inst = mii->mii_instance;
diff -r b4133da9fdb3 -r ba045fd961f6 sys/dev/mii/sqphy.c
--- a/sys/dev/mii/sqphy.c Fri May 14 11:38:05 1999 +0000
+++ b/sys/dev/mii/sqphy.c Fri May 14 11:40:28 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sqphy.c,v 1.9 1999/04/23 04:24:32 thorpej Exp $ */
+/* $NetBSD: sqphy.c,v 1.10 1999/05/14 11:40:28 drochner Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -106,8 +106,8 @@
{
struct mii_attach_args *ma = aux;
- if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_SEEQ &&
- MII_MODEL(ma->mii_id2) == MII_MODEL_SEEQ_80220)
+ if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxSEEQ &&
+ MII_MODEL(ma->mii_id2) == MII_MODEL_xxSEEQ_80220)
return (10);
return (0);
@@ -122,7 +122,7 @@
struct mii_attach_args *ma = aux;
struct mii_data *mii = ma->mii_data;
- printf(": %s, rev. %d\n", MII_STR_SEEQ_80220,
+ printf(": %s, rev. %d\n", MII_STR_xxSEEQ_80220,
MII_REV(ma->mii_id2));
sc->mii_inst = mii->mii_instance;
diff -r b4133da9fdb3 -r ba045fd961f6 sys/dev/mii/tlphy.c
--- a/sys/dev/mii/tlphy.c Fri May 14 11:38:05 1999 +0000
+++ b/sys/dev/mii/tlphy.c Fri May 14 11:40:28 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tlphy.c,v 1.17 1999/04/23 04:24:32 thorpej Exp $ */
+/* $NetBSD: tlphy.c,v 1.18 1999/05/14 11:40:28 drochner Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -122,8 +122,8 @@
{
struct mii_attach_args *ma = aux;
- if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_TI &&
- MII_MODEL(ma->mii_id2) == MII_MODEL_TI_TLAN10T)
+ if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxTI &&
+ MII_MODEL(ma->mii_id2) == MII_MODEL_xxTI_TLAN10T)
return (10);
return (0);
@@ -140,7 +140,7 @@
struct mii_data *mii = ma->mii_data;
const char *sep = "";
- printf(": %s, rev. %d\n", MII_STR_TI_TLAN10T,
+ printf(": %s, rev. %d\n", MII_STR_xxTI_TLAN10T,
MII_REV(ma->mii_id2));
sc->sc_mii.mii_inst = mii->mii_instance;
Home |
Main Index |
Thread Index |
Old Index