svn commit: r197587 - head/sys/dev/mii
Pyun YongHyeon
yongari at FreeBSD.org
Mon Sep 28 19:48:17 UTC 2009
Author: yongari
Date: Mon Sep 28 19:48:17 2009
New Revision: 197587
URL: http://svn.freebsd.org/changeset/base/197587
Log:
Don't encode model id twice.
Reported by: Kristof Provost <kristof <> sigsegv dot be>
Modified:
head/sys/dev/mii/e1000phy.c
Modified: head/sys/dev/mii/e1000phy.c
==============================================================================
--- head/sys/dev/mii/e1000phy.c Mon Sep 28 19:40:16 2009 (r197586)
+++ head/sys/dev/mii/e1000phy.c Mon Sep 28 19:48:17 2009 (r197587)
@@ -248,7 +248,7 @@ e1000phy_reset(struct mii_softc *sc)
}
}
- switch (MII_MODEL(esc->mii_model)) {
+ switch (esc->mii_model) {
case MII_MODEL_MARVELL_E3082:
case MII_MODEL_MARVELL_E1112:
case MII_MODEL_MARVELL_E1118:
More information about the svn-src-all
mailing list