diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-07-12 05:31:15 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-07-12 05:31:15 +0000 |
commit | 582eb17d716059ae159a68f9a1ab1c0fb505b6d7 (patch) | |
tree | 752dc9f375abbe5555067723a2e7141118611493 | |
parent | bc80cf198ba91a6775223262737c26cc0254bfb0 (diff) |
Add support for the Marvell 88E8016 PHY.
ok dlg@
-rw-r--r-- | sys/dev/mii/eephy.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/mii/eephy.c b/sys/dev/mii/eephy.c index 4a60b7457c7..8632ca8fca5 100644 --- a/sys/dev/mii/eephy.c +++ b/sys/dev/mii/eephy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eephy.c,v 1.43 2007/11/18 18:10:13 krw Exp $ */ +/* $OpenBSD: eephy.c,v 1.44 2008/07/12 05:31:14 brad Exp $ */ /* * Principal Author: Parag Patel * Copyright (c) 2001 @@ -99,6 +99,8 @@ static const struct mii_phydesc eephys[] = { MII_STR_MARVELL_E1118 }, { MII_OUI_MARVELL, MII_MODEL_MARVELL_E1149, MII_STR_MARVELL_E1149 }, + { MII_OUI_MARVELL, MII_MODEL_MARVELL_E3016, + MII_STR_MARVELL_E3016}, { MII_OUI_MARVELL, MII_MODEL_MARVELL_E3082, MII_STR_MARVELL_E3082 }, { MII_OUI_xxMARVELL, MII_MODEL_xxMARVELL_E1000_5, @@ -198,6 +200,7 @@ eephyattach(struct device *parent, struct device *self, void *aux) /* Enable auto crossover. */ switch (sc->mii_model) { + case MII_MODEL_MARVELL_E3016: case MII_MODEL_MARVELL_E3082: /* Bits are in a different position. */ reg |= (E1000_SCR_AUTO_X_MODE >> 1); |