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

PR:	156893
This commit is contained in:
Marius Strobl 2011-05-10 18:38:01 +00:00
parent 00c885e181
commit 693ad91c2b

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