aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mii/truephy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mii/truephy.c')
-rw-r--r--sys/dev/mii/truephy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mii/truephy.c b/sys/dev/mii/truephy.c
index c83398383dd6..bb99df283f4b 100644
--- a/sys/dev/mii/truephy.c
+++ b/sys/dev/mii/truephy.c
@@ -151,6 +151,7 @@ truephy_attach(device_t dev)
mii = ma->mii_data;
LIST_INSERT_HEAD(&mii->mii_phys, sc, mii_list);
+ sc->mii_flags = miibus_get_flags(dev);
sc->mii_inst = mii->mii_instance++;
sc->mii_phy = ma->mii_phyno;
sc->mii_service = truephy_service;