diff options
author | marius <marius@FreeBSD.org> | 2006-12-02 19:36:25 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2006-12-02 19:36:25 +0000 |
commit | e88fd11fa63919f0d0ba952544f8abe033024e9e (patch) | |
tree | 0a8173ea0887896b2cd6a3f0ad42c1684b04c2b4 /sys/dev/mii/tdkphy.c | |
parent | c4618bacd39ad5ce8f2fb96309c79e7c9983bdb6 (diff) | |
download | FreeBSD-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.c | 10 |
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 |