summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorlebel <lebel@cvs.openbsd.org>2002-04-02 14:52:28 +0000
committerlebel <lebel@cvs.openbsd.org>2002-04-02 14:52:28 +0000
commit56b6e3fb1d4ed432250d7b5c8d02115789876525 (patch)
treef3815a453ce2e07793f3f63881f2406e9af21541 /sys/dev/mii
parent535079a66a28e9fe6700c5cf7a5e92fe8f257ce2 (diff)
add support for Marvell 88E1000 Gigabit PHY, model 6;
from nate@, with one forgotten closing ) and a typo. :)
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/eephy.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/mii/eephy.c b/sys/dev/mii/eephy.c
index 0208b3ef719..c444be63430 100644
--- a/sys/dev/mii/eephy.c
+++ b/sys/dev/mii/eephy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eephy.c,v 1.4 2002/04/02 13:05:09 nate Exp $ */
+/* $OpenBSD: eephy.c,v 1.5 2002/04/02 14:52:27 lebel Exp $ */
/*
* Principal Author: Parag Patel
* Copyright (c) 2001
@@ -89,7 +89,9 @@ eephymatch(struct device *parent, void *match, void *aux)
return (10);
if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_MARVELL &&
- MII_MODEL(ma->mii_id2) == MII_MODEL_MARVELL_E1000_3)
+ (MII_MODEL(ma->mii_id2) == MII_MODEL_MARVELL_E1000 ||
+ MII_MODEL(ma->mii_id2) == MII_MODEL_MARVELL_E1000_3 ||
+ MII_MODEL(ma->mii_id2) == MII_MODEL_MARVELL_E1000_6))
return (10);
return(0);