diff options
author | 2008-07-12 05:31:14 +0000 | |
---|---|---|
committer | 2008-07-12 05:31:14 +0000 | |
commit | d1d47c03b5f5096d55bdf52b56427a1e4498a942 (patch) | |
tree | 8df7ff866e0015c32da3830ab3f794cadb721b0e | |
parent | unbreak; move clearing of cctx struct to before first use (diff) | |
download | wireguard-openbsd-d1d47c03b5f5096d55bdf52b56427a1e4498a942.tar.xz wireguard-openbsd-d1d47c03b5f5096d55bdf52b56427a1e4498a942.zip |
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); |