nsphy(4): Remove obsolete support for pcn(4)

This should have gone in 607790d10f and
r347915 respectively along with pcn(4).
This commit is contained in:
Marius Strobl 2020-12-26 19:20:03 +01:00
parent e51ed06ae1
commit 2f00fe725b

View File

@ -131,15 +131,8 @@ nsphy_probe(device_t dev)
static int
nsphy_attach(device_t dev)
{
u_int flags;
flags = MIIF_NOMANPAUSE;
/*
* Am79C971 wedge when isolating all of their external PHYs.
*/
if (mii_dev_mac_match(dev,"pcn"))
flags |= MIIF_NOISOLATE;
mii_phy_dev_attach(dev, flags, &nsphy_funcs, 1);
mii_phy_dev_attach(dev, MIIF_NOMANPAUSE, &nsphy_funcs, 1);
return (0);
}