Date: Sat, 26 Dec 2020 18:41:09 GMT From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2f00fe725b7a - nsphy(4): Remove obsolete support for pcn(4) Message-ID: <202012261841.0BQIf9pb063362@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by marius: URL: https://cgit.FreeBSD.org/src/commit/?id=2f00fe725b7a17c2be61bf5986b4b7a78c956bbe commit 2f00fe725b7a17c2be61bf5986b4b7a78c956bbe Author: Marius Strobl <marius@FreeBSD.org> AuthorDate: 2020-12-26 18:20:03 +0000 Commit: Marius Strobl <marius@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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012261841.0BQIf9pb063362>