svn commit: r221746 - head/sys/dev/mii

Marius Strobl marius at FreeBSD.org
Tue May 10 18:38:02 UTC 2011


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);
 }
 


More information about the svn-src-all mailing list