diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-02-19 10:12:56 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-02-19 10:12:56 +0000 |
commit | 6818a720da069f0c124e657773afc273ae7ad811 (patch) | |
tree | 33d5639ae3807df7815c0e6f666e6ef6a8bf7a2e /sys/dev/mii | |
parent | ff14e1ae3d90f91a3ba0eebe6be9703dc1021ac3 (diff) |
Recognize ICS1893; from NetBSD
Diffstat (limited to 'sys/dev/mii')
-rw-r--r-- | sys/dev/mii/icsphy.c | 6 | ||||
-rw-r--r-- | sys/dev/mii/miidevs | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/sys/dev/mii/icsphy.c b/sys/dev/mii/icsphy.c index 880b6122a9c..e9e9dded289 100644 --- a/sys/dev/mii/icsphy.c +++ b/sys/dev/mii/icsphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: icsphy.c,v 1.9 2002/05/04 11:30:06 fgsch Exp $ */ +/* $OpenBSD: icsphy.c,v 1.10 2003/02/19 10:12:55 miod Exp $ */ /* $NetBSD: icsphy.c,v 1.17 2000/02/02 23:34:56 thorpej Exp $ */ /*- @@ -121,6 +121,10 @@ icsphymatch(parent, match, aux) MII_MODEL(ma->mii_id2) == MII_MODEL_xxICS_1892) return (10); + if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxICS && + MII_MODEL(ma->mii_id2) == MII_MODEL_xxICS_1893) + return (10); + return (0); } diff --git a/sys/dev/mii/miidevs b/sys/dev/mii/miidevs index df4fa0f9670..43caa3db2fa 100644 --- a/sys/dev/mii/miidevs +++ b/sys/dev/mii/miidevs @@ -1,4 +1,4 @@ -$OpenBSD: miidevs,v 1.32 2003/02/13 05:49:58 fgsch Exp $ +$OpenBSD: miidevs,v 1.33 2003/02/19 10:12:55 miod Exp $ /* $NetBSD: miidevs,v 1.3 1998/11/05 03:43:43 thorpej Exp $ */ /*- @@ -135,7 +135,8 @@ model xxDEC xxDC 0x0001 DC /* Integrated Circuit Systems PHYs */ model xxICS 1890 0x0002 ICS1890 10/100 media interface -model xxICS 1892 0x0003 ICS1892 10/100 media interface +model xxICS 1892 0x0003 ICS1892 10/100 media interface +model xxICS 1893 0x0004 ICS1893 10/100 media interface /* Intel PHYs */ model xxINTEL I82553 0x0000 i82553 10/100 media interface |