summaryrefslogtreecommitdiff
path: root/sys/dev/mii/tqphy.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-05-04 11:30:07 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-05-04 11:30:07 +0000
commita1fb4e4b7740e6d4b48d151b9a0c73f41e408cbf (patch)
tree419aa94c26914ad8a46948d9b87dfc30f37c6051 /sys/dev/mii/tqphy.c
parent855ed9be2a898eb611291b2b40191f81cd3a09c6 (diff)
some space and tab cleanup.
Diffstat (limited to 'sys/dev/mii/tqphy.c')
-rw-r--r--sys/dev/mii/tqphy.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/mii/tqphy.c b/sys/dev/mii/tqphy.c
index 09c74634410..2a1feec3c48 100644
--- a/sys/dev/mii/tqphy.c
+++ b/sys/dev/mii/tqphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tqphy.c,v 1.4 2002/03/14 01:26:58 millert Exp $ */
+/* $OpenBSD: tqphy.c,v 1.5 2002/05/04 11:30:06 fgsch Exp $ */
/* $NetBSD: tqphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $ */
/*
@@ -235,19 +235,19 @@ tqphy_status(sc)
PHY_READ(sc, MII_BMSR);
if (bmsr & BMSR_LINK)
mii->mii_media_status |= IFM_ACTIVE;
-
+
bmcr = PHY_READ(sc, MII_BMCR);
if (bmcr & BMCR_ISO) {
mii->mii_media_active |= IFM_NONE;
mii->mii_media_status = 0;
return;
}
-
+
if (bmcr & BMCR_LOOP)
mii->mii_media_active |= IFM_LOOP;
-
+
if (bmcr & BMCR_AUTOEN) {
- if ((bmsr & BMSR_ACOMP) == 0) {
+ if ((bmsr & BMSR_ACOMP) == 0) {
/* Erg, still trying, I guess... */
mii->mii_media_active |= IFM_NONE;
return;
@@ -259,6 +259,6 @@ tqphy_status(sc)
mii->mii_media_active |= IFM_10_T;
if (diag & DIAG_DPLX)
mii->mii_media_active |= IFM_FDX;
- } else
+ } else
mii->mii_media_active = ife->ifm_media;
}