Fix a bug in r221407; this driver doesn't add the media itself.

PR:	156893
This commit is contained in:
marius 2011-05-10 18:38:01 +00:00
parent a112b2dac2
commit 4c36b6d994

View File

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