summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-05-10 18:38:01 +0000
committermarius <marius@FreeBSD.org>2011-05-10 18:38:01 +0000
commit4c36b6d9944e06338a6f785334f48ea25de8d919 (patch)
treeb12e59ef1bd758c0731554ade629a4eaa34afac3
parenta112b2dac27ab54555b5d9d6de691a208e021fdf (diff)
downloadFreeBSD-src-4c36b6d9944e06338a6f785334f48ea25de8d919.zip
FreeBSD-src-4c36b6d9944e06338a6f785334f48ea25de8d919.tar.gz
Fix a bug in r221407; this driver doesn't add the media itself.
PR: 156893
-rw-r--r--sys/dev/mii/ip1000phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mii/ip1000phy.c b/sys/dev/mii/ip1000phy.c
index 3d90e7e..be82d4d 100644
--- a/sys/dev/mii/ip1000phy.c
+++ b/sys/dev/mii/ip1000phy.c
@@ -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);
}
OpenPOWER on IntegriCloud