Fix a bug in r221407; this driver doesn't add the media itself.
PR: 156893
This commit is contained in:
parent
00c885e181
commit
693ad91c2b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user