git: 2f00fe725b7a - nsphy(4): Remove obsolete support for pcn(4)
Marius Strobl
marius at FreeBSD.org
Sat Dec 26 18:41:10 UTC 2020
The branch main has been updated by marius:
URL: https://cgit.FreeBSD.org/src/commit/?id=2f00fe725b7a17c2be61bf5986b4b7a78c956bbe
commit 2f00fe725b7a17c2be61bf5986b4b7a78c956bbe
Author: Marius Strobl <marius at FreeBSD.org>
AuthorDate: 2020-12-26 18:20:03 +0000
Commit: Marius Strobl <marius at FreeBSD.org>
CommitDate: 2020-12-26 18:40:56 +0000
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);
}
More information about the dev-commits-src-main
mailing list