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:
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to