Date: Tue, 10 May 2011 18:38:01 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r221746 - head/sys/dev/mii Message-ID: <201105101838.p4AIc1cZ055661@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marius Date: Tue May 10 18:38:01 2011 New Revision: 221746 URL: http://svn.freebsd.org/changeset/base/221746 Log: Fix a bug in r221407; this driver doesn't add the media itself. PR: 156893 Modified: head/sys/dev/mii/ip1000phy.c Modified: head/sys/dev/mii/ip1000phy.c ============================================================================== --- head/sys/dev/mii/ip1000phy.c Tue May 10 18:19:56 2011 (r221745) +++ head/sys/dev/mii/ip1000phy.c Tue May 10 18:38:01 2011 (r221746) @@ -111,7 +111,7 @@ ip1000phy_attach(device_t dev) strcmp(ma->mii_data->mii_ifp->if_dname, "stge") == 0 && (miibus_get_flags(dev) & MIIF_MACPRIV0) != 0) flags |= MIIF_PHYPRIV0; - mii_phy_dev_attach(dev, flags, &ip1000phy_funcs, 0); + mii_phy_dev_attach(dev, flags, &ip1000phy_funcs, 1); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105101838.p4AIc1cZ055661>