summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/tdkphy.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2006-12-02 19:36:25 +0000
committermarius <marius@FreeBSD.org>2006-12-02 19:36:25 +0000
commite88fd11fa63919f0d0ba952544f8abe033024e9e (patch)
tree0a8173ea0887896b2cd6a3f0ad42c1684b04c2b4 /sys/dev/mii/tdkphy.c
parentc4618bacd39ad5ce8f2fb96309c79e7c9983bdb6 (diff)
downloadFreeBSD-src-e88fd11fa63919f0d0ba952544f8abe033024e9e.zip
FreeBSD-src-e88fd11fa63919f0d0ba952544f8abe033024e9e.tar.gz
Some style changes to a couple of PHY drivers:
- Fix some whitespace nits. - Fix some spelling in comments. - Use MII_ANEGTICKS instead of 5. - Don't define variables in nested scope. - Remove superfluous returns at the end of void functions. - Remove unused static global rgephy_mii_model. - Remove dupe $Id$ in tdkphy(4). - Sort brgphys table. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/mii/tdkphy.c')
-rw-r--r--sys/dev/mii/tdkphy.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/mii/tdkphy.c b/sys/dev/mii/tdkphy.c
index 2e89c2d..66fc739 100644
--- a/sys/dev/mii/tdkphy.c
+++ b/sys/dev/mii/tdkphy.c
@@ -62,13 +62,6 @@ __FBSDID("$FreeBSD$");
#include "miibus_if.h"
-#if 0
-#if !defined(lint)
-static const char rcsid[] =
- "$Id: tdkphy.c,v 1.18 2006/05/16 14:36:28 phk Exp $";
-#endif
-#endif
-
static int tdkphy_probe(device_t);
static int tdkphy_attach(device_t);
@@ -151,8 +144,7 @@ tdkphy_attach(device_t dev)
#undef ADD
MIIBUS_MEDIAINIT(sc->mii_dev);
-
- return(0);
+ return (0);
}
static int
OpenPOWER on IntegriCloud