use the new "xx" prefixed OUIs because the mapping to the ID register

bits differs from the MII_OUI() way
This commit is contained in:
drochner 1999-05-14 11:40:28 +00:00
parent 48c49dcb82
commit 23ddff5688
4 changed files with 16 additions and 16 deletions

View File

@ -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 @@ icsphymatch(parent, match, aux)
{
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 @@ icsphyattach(parent, self, aux)
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;

View File

@ -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 @@ lxtphymatch(parent, match, aux)
{
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 @@ lxtphyattach(parent, self, aux)
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;

View File

@ -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 @@ sqphymatch(parent, match, aux)
{
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 @@ sqphyattach(parent, self, aux)
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;

View File

@ -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 @@ tlphymatch(parent, match, aux)
{
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 @@ tlphyattach(parent, self, aux)
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;