From 2f00fe725b7a17c2be61bf5986b4b7a78c956bbe Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sat, 26 Dec 2020 19:20:03 +0100 Subject: [PATCH] nsphy(4): Remove obsolete support for pcn(4) This should have gone in 607790d10fdb97d25cdc0bbe9ed6eaae67383ae1 and r347915 respectively along with pcn(4). --- sys/dev/mii/nsphy.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/dev/mii/nsphy.c b/sys/dev/mii/nsphy.c index 76ef81320a5c..8feab4f023f5 100644 --- a/sys/dev/mii/nsphy.c +++ b/sys/dev/mii/nsphy.c @@ -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); }