diff options
| author | Warner Losh <imp@FreeBSD.org> | 2005-09-30 19:39:27 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2005-09-30 19:39:27 +0000 |
| commit | 7d830ac9c2ad8d1031bd9d20cc5d976ac7eebd90 (patch) | |
| tree | c545b1567d7ceed1e0dd597b18504c02fe5cec82 /sys/dev/mii/tlphy.c | |
| parent | 0d507778989406c6d9c196ad9cb4a68b26ffd6fa (diff) | |
Notes
Diffstat (limited to 'sys/dev/mii/tlphy.c')
| -rw-r--r-- | sys/dev/mii/tlphy.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/sys/dev/mii/tlphy.c b/sys/dev/mii/tlphy.c index f07e33e16c43d..7baf700cad9c8 100644 --- a/sys/dev/mii/tlphy.c +++ b/sys/dev/mii/tlphy.c @@ -128,8 +128,7 @@ static void tlphy_acomp(struct tlphy_softc *); static void tlphy_status(struct tlphy_softc *); static int -tlphy_probe(dev) - device_t dev; +tlphy_probe(device_t dev) { struct mii_attach_args *ma; @@ -145,8 +144,7 @@ tlphy_probe(dev) } static int -tlphy_attach(dev) - device_t dev; +tlphy_attach(device_t dev) { struct tlphy_softc *sc; struct mii_attach_args *ma; @@ -226,10 +224,7 @@ tlphy_attach(dev) } static int -tlphy_service(self, mii, cmd) - struct mii_softc *self; - struct mii_data *mii; - int cmd; +tlphy_service(struct mii_softc *self, struct mii_data *mii, int cmd) { struct tlphy_softc *sc = (struct tlphy_softc *)self; struct ifmedia_entry *ife = mii->mii_media.ifm_cur; @@ -340,8 +335,7 @@ tlphy_service(self, mii, cmd) } static void -tlphy_status(sc) - struct tlphy_softc *sc; +tlphy_status(struct tlphy_softc *sc) { struct mii_data *mii = sc->sc_mii.mii_pdata; int bmsr, bmcr, tlctrl; @@ -383,8 +377,7 @@ tlphy_status(sc) } static int -tlphy_auto(sc) - struct tlphy_softc *sc; +tlphy_auto(struct tlphy_softc *sc) { int error; @@ -410,8 +403,7 @@ tlphy_auto(sc) } static void -tlphy_acomp(sc) - struct tlphy_softc *sc; +tlphy_acomp(struct tlphy_softc *sc) { int aner, anlpar; |
