Date: Mon, 28 Sep 2009 19:48:17 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r197587 - head/sys/dev/mii Message-ID: <200909281948.n8SJmHJq064176@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909281948.n8SJmHJq064176>