summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/ukphy.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2007-01-20 00:52:29 +0000
committermarius <marius@FreeBSD.org>2007-01-20 00:52:29 +0000
commit8b9041b642394dd10b8ed7a1b34e258fe8ac78f3 (patch)
treefe04f2f320f8a111f81b314798fac6abf3459ec6 /sys/dev/mii/ukphy.c
parenta4f70979edca8249a02fb3151e66fddae2901568 (diff)
downloadFreeBSD-src-8b9041b642394dd10b8ed7a1b34e258fe8ac78f3.zip
FreeBSD-src-8b9041b642394dd10b8ed7a1b34e258fe8ac78f3.tar.gz
- Don't set MIIF_NOISOLATE so ukphy(4) can be used in configurations with
multiple PHYs. In case some PHYs currently driven by ukphy(4) exhibit problems when isolating due to incomplete implementations or silicon bugs we'll need to add specific drivers for these. Looking at NetBSD and OpenBSD I don't expect problems here though (quite the contrary; we still seem to set MIIF_NOISOLATE without good reason in a bunch of PHY drivers). - Fix a style(9) whitespace nit.
Diffstat (limited to 'sys/dev/mii/ukphy.c')
-rw-r--r--sys/dev/mii/ukphy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/mii/ukphy.c b/sys/dev/mii/ukphy.c
index c6b0707..e519640 100644
--- a/sys/dev/mii/ukphy.c
+++ b/sys/dev/mii/ukphy.c
@@ -149,8 +149,6 @@ ukphy_attach(device_t dev)
mii->mii_instance++;
- sc->mii_flags |= MIIF_NOISOLATE;
-
mii_phy_reset(sc);
sc->mii_capabilities =
@@ -164,7 +162,7 @@ ukphy_attach(device_t dev)
MIIBUS_MEDIAINIT(sc->mii_dev);
mii_phy_setmedia(sc);
- return(0);
+ return (0);
}
static int
OpenPOWER on IntegriCloud