diff options
Diffstat (limited to 'sys/dev/mii')
-rw-r--r-- | sys/dev/mii/amphy.c | 10 | ||||
-rw-r--r-- | sys/dev/mii/bmtphy.c | 12 | ||||
-rw-r--r-- | sys/dev/mii/brgphy.c | 14 | ||||
-rw-r--r-- | sys/dev/mii/dcphy.c | 14 | ||||
-rw-r--r-- | sys/dev/mii/exphy.c | 10 | ||||
-rw-r--r-- | sys/dev/mii/icsphy.c | 12 | ||||
-rw-r--r-- | sys/dev/mii/inphy.c | 10 | ||||
-rw-r--r-- | sys/dev/mii/iophy.c | 10 | ||||
-rw-r--r-- | sys/dev/mii/lxtphy.c | 12 | ||||
-rw-r--r-- | sys/dev/mii/mii.c | 6 | ||||
-rw-r--r-- | sys/dev/mii/mii_bitbang.c | 8 | ||||
-rw-r--r-- | sys/dev/mii/mii_bitbang.h | 14 | ||||
-rw-r--r-- | sys/dev/mii/mii_physubr.c | 4 | ||||
-rw-r--r-- | sys/dev/mii/miivar.h | 56 | ||||
-rw-r--r-- | sys/dev/mii/mtdphy.c | 8 | ||||
-rw-r--r-- | sys/dev/mii/nsgphy.c | 14 | ||||
-rw-r--r-- | sys/dev/mii/nsphy.c | 12 | ||||
-rw-r--r-- | sys/dev/mii/nsphyter.c | 10 | ||||
-rw-r--r-- | sys/dev/mii/qsphy.c | 12 | ||||
-rw-r--r-- | sys/dev/mii/rlphy.c | 10 | ||||
-rw-r--r-- | sys/dev/mii/sqphy.c | 10 | ||||
-rw-r--r-- | sys/dev/mii/tlphy.c | 12 | ||||
-rw-r--r-- | sys/dev/mii/tqphy.c | 12 | ||||
-rw-r--r-- | sys/dev/mii/txphy.c | 8 | ||||
-rw-r--r-- | sys/dev/mii/ukphy.c | 8 | ||||
-rw-r--r-- | sys/dev/mii/xmphy.c | 14 |
26 files changed, 161 insertions, 161 deletions
diff --git a/sys/dev/mii/amphy.c b/sys/dev/mii/amphy.c index 110bb0599b8..96ba9d73055 100644 --- a/sys/dev/mii/amphy.c +++ b/sys/dev/mii/amphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amphy.c,v 1.2 2000/11/20 16:22:15 jason Exp $ */ +/* $OpenBSD: amphy.c,v 1.3 2002/03/14 01:26:57 millert Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -56,8 +56,8 @@ #include <dev/mii/amphyreg.h> -int amphymatch __P((struct device *, void *, void *)); -void amphyattach __P((struct device *, struct device *, void *)); +int amphymatch(struct device *, void *, void *); +void amphyattach(struct device *, struct device *, void *); struct cfattach amphy_ca = { sizeof(struct mii_softc), amphymatch, amphyattach, mii_phy_detach, @@ -68,8 +68,8 @@ struct cfdriver amphy_cd = { NULL, "amphy", DV_DULL }; -int amphy_service __P((struct mii_softc *, struct mii_data *, int)); -void amphy_status __P((struct mii_softc *)); +int amphy_service(struct mii_softc *, struct mii_data *, int); +void amphy_status(struct mii_softc *); int amphymatch(parent, match, aux) diff --git a/sys/dev/mii/bmtphy.c b/sys/dev/mii/bmtphy.c index 20cabb0f392..4900812933c 100644 --- a/sys/dev/mii/bmtphy.c +++ b/sys/dev/mii/bmtphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bmtphy.c,v 1.4 2001/10/05 18:26:48 nate Exp $ */ +/* $OpenBSD: bmtphy.c,v 1.5 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD: nsphy.c,v 1.25 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -48,8 +48,8 @@ #include <dev/mii/bmtphyreg.h> -int bmtphymatch __P((struct device *, void *, void *)); -void bmtphyattach __P((struct device *, struct device *, void *)); +int bmtphymatch(struct device *, void *, void *); +void bmtphyattach(struct device *, struct device *, void *); struct cfattach bmtphy_ca = { sizeof(struct mii_softc), bmtphymatch, bmtphyattach, mii_phy_detach, @@ -60,9 +60,9 @@ struct cfdriver bmtphy_cd = { NULL, "bmtphy", DV_DULL }; -int bmtphy_service __P((struct mii_softc *, struct mii_data *, int)); -void bmtphy_status __P((struct mii_softc *)); -void bmtphy_reset __P((struct mii_softc *)); +int bmtphy_service(struct mii_softc *, struct mii_data *, int); +void bmtphy_status(struct mii_softc *); +void bmtphy_reset(struct mii_softc *); int bmtphymatch(parent, match, aux) diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 29c09a724bb..3ce98207a90 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brgphy.c,v 1.7 2001/10/05 18:30:54 nate Exp $ */ +/* $OpenBSD: brgphy.c,v 1.8 2002/03/14 01:26:57 millert Exp $ */ /* * Copyright (c) 2000 @@ -56,8 +56,8 @@ #include <dev/mii/brgphyreg.h> -int brgphy_probe __P((struct device *, void *, void *)); -void brgphy_attach __P((struct device *, struct device *, void *)); +int brgphy_probe(struct device *, void *, void *); +void brgphy_attach(struct device *, struct device *, void *); struct cfattach brgphy_ca = { sizeof(struct mii_softc), brgphy_probe, brgphy_attach, mii_phy_detach, @@ -68,11 +68,11 @@ struct cfdriver brgphy_cd = { NULL, "brgphy", DV_DULL }; -int brgphy_service __P((struct mii_softc *, struct mii_data *, int)); -void brgphy_status __P((struct mii_softc *)); +int brgphy_service(struct mii_softc *, struct mii_data *, int); +void brgphy_status(struct mii_softc *); -int brgphy_mii_phy_auto __P((struct mii_softc *, int)); -extern void mii_phy_auto_timeout __P((void *)); +int brgphy_mii_phy_auto(struct mii_softc *, int); +extern void mii_phy_auto_timeout(void *); int brgphy_probe(parent, match, aux) struct device *parent; diff --git a/sys/dev/mii/dcphy.c b/sys/dev/mii/dcphy.c index 43350e059d8..b0131f99637 100644 --- a/sys/dev/mii/dcphy.c +++ b/sys/dev/mii/dcphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dcphy.c,v 1.5 2001/04/02 23:01:54 aaron Exp $ */ +/* $OpenBSD: dcphy.c,v 1.6 2002/03/14 01:26:57 millert Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -85,8 +85,8 @@ */ #define COMPAQ_PRESARIO_ID 0xb0bb0e11 -int dcphy_match __P((struct device *, void *, void *)); -void dcphy_attach __P((struct device *, struct device *, void *)); +int dcphy_match(struct device *, void *, void *); +void dcphy_attach(struct device *, struct device *, void *); struct cfattach dcphy_ca = { sizeof(struct mii_softc), dcphy_match, dcphy_attach, mii_phy_detach, @@ -97,10 +97,10 @@ struct cfdriver dcphy_cd = { NULL, "dcphy", DV_DULL }; -int dcphy_service __P((struct mii_softc *, struct mii_data *, int)); -void dcphy_status __P((struct mii_softc *)); -int dcphy_auto __P((struct mii_softc *, int)); -void dcphy_reset __P((struct mii_softc *)); +int dcphy_service(struct mii_softc *, struct mii_data *, int); +void dcphy_status(struct mii_softc *); +int dcphy_auto(struct mii_softc *, int); +void dcphy_reset(struct mii_softc *); int dcphy_match(parent, match, aux) diff --git a/sys/dev/mii/exphy.c b/sys/dev/mii/exphy.c index a1582b56d0f..09b1ae3ca12 100644 --- a/sys/dev/mii/exphy.c +++ b/sys/dev/mii/exphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exphy.c,v 1.10 2001/07/17 01:15:22 nate Exp $ */ +/* $OpenBSD: exphy.c,v 1.11 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD: exphy.c,v 1.23 2000/02/02 23:34:56 thorpej Exp $ */ /*- @@ -85,8 +85,8 @@ #include <dev/mii/miivar.h> #include <dev/mii/miidevs.h> -int exphymatch __P((struct device *, void *, void *)); -void exphyattach __P((struct device *, struct device *, void *)); +int exphymatch(struct device *, void *, void *); +void exphyattach(struct device *, struct device *, void *); struct cfattach exphy_ca = { sizeof(struct mii_softc), exphymatch, exphyattach, mii_phy_detach, @@ -97,8 +97,8 @@ struct cfdriver exphy_cd = { NULL, "exphy", DV_DULL }; -int exphy_service __P((struct mii_softc *, struct mii_data *, int)); -void exphy_reset __P((struct mii_softc *)); +int exphy_service(struct mii_softc *, struct mii_data *, int); +void exphy_reset(struct mii_softc *); int exphymatch(parent, match, aux) diff --git a/sys/dev/mii/icsphy.c b/sys/dev/mii/icsphy.c index 7c153e36e50..0a572c18448 100644 --- a/sys/dev/mii/icsphy.c +++ b/sys/dev/mii/icsphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: icsphy.c,v 1.7 2001/06/03 15:54:44 deraadt Exp $ */ +/* $OpenBSD: icsphy.c,v 1.8 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD: icsphy.c,v 1.17 2000/02/02 23:34:56 thorpej Exp $ */ /*- @@ -89,8 +89,8 @@ #include <dev/mii/icsphyreg.h> -int icsphymatch __P((struct device *, void *, void *)); -void icsphyattach __P((struct device *, struct device *, void *)); +int icsphymatch(struct device *, void *, void *); +void icsphyattach(struct device *, struct device *, void *); struct cfattach icsphy_ca = { sizeof(struct mii_softc), icsphymatch, icsphyattach, mii_phy_detach, @@ -101,9 +101,9 @@ struct cfdriver icsphy_cd = { NULL, "icsphy", DV_DULL }; -int icsphy_service __P((struct mii_softc *, struct mii_data *, int)); -void icsphy_reset __P((struct mii_softc *)); -void icsphy_status __P((struct mii_softc *)); +int icsphy_service(struct mii_softc *, struct mii_data *, int); +void icsphy_reset(struct mii_softc *); +void icsphy_status(struct mii_softc *); int icsphymatch(parent, match, aux) diff --git a/sys/dev/mii/inphy.c b/sys/dev/mii/inphy.c index 1f736bde779..9ce9f44db5b 100644 --- a/sys/dev/mii/inphy.c +++ b/sys/dev/mii/inphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inphy.c,v 1.7 2001/04/17 01:19:21 jason Exp $ */ +/* $OpenBSD: inphy.c,v 1.8 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD: inphy.c,v 1.18 2000/02/02 23:34:56 thorpej Exp $ */ /*- @@ -89,8 +89,8 @@ #include <dev/mii/inphyreg.h> -int inphymatch __P((struct device *, void *, void *)); -void inphyattach __P((struct device *, struct device *, void *)); +int inphymatch(struct device *, void *, void *); +void inphyattach(struct device *, struct device *, void *); struct cfattach inphy_ca = { sizeof(struct mii_softc), inphymatch, inphyattach, mii_phy_detach, @@ -101,8 +101,8 @@ struct cfdriver inphy_cd = { NULL, "inphy", DV_DULL }; -int inphy_service __P((struct mii_softc *, struct mii_data *, int)); -void inphy_status __P((struct mii_softc *)); +int inphy_service(struct mii_softc *, struct mii_data *, int); +void inphy_status(struct mii_softc *); int inphymatch(parent, match, aux) diff --git a/sys/dev/mii/iophy.c b/sys/dev/mii/iophy.c index da3ef62bd53..b3b8df25eb3 100644 --- a/sys/dev/mii/iophy.c +++ b/sys/dev/mii/iophy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iophy.c,v 1.6 2000/08/26 20:04:17 nate Exp $ */ +/* $OpenBSD: iophy.c,v 1.7 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD: iophy.c,v 1.8 2000/02/02 23:34:56 thorpej Exp $ */ /* @@ -87,8 +87,8 @@ #include <dev/mii/iophyreg.h> -int iophymatch __P((struct device *, void *, void *)); -void iophyattach __P((struct device *, struct device *, void *)); +int iophymatch(struct device *, void *, void *); +void iophyattach(struct device *, struct device *, void *); struct cfattach iophy_ca = { sizeof(struct mii_softc), iophymatch, iophyattach, mii_phy_detach, @@ -99,8 +99,8 @@ struct cfdriver iophy_cd = { NULL, "iophy", DV_DULL }; -int iophy_service __P((struct mii_softc *, struct mii_data *, int)); -void iophy_status __P((struct mii_softc *)); +int iophy_service(struct mii_softc *, struct mii_data *, int); +void iophy_status(struct mii_softc *); int iophymatch(parent, match, aux) diff --git a/sys/dev/mii/lxtphy.c b/sys/dev/mii/lxtphy.c index 4713550e802..2b6cd17b330 100644 --- a/sys/dev/mii/lxtphy.c +++ b/sys/dev/mii/lxtphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lxtphy.c,v 1.7 2001/12/15 02:41:33 deraadt Exp $ */ +/* $OpenBSD: lxtphy.c,v 1.8 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD: lxtphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -89,8 +89,8 @@ #include <dev/mii/lxtphyreg.h> -int lxtphymatch __P((struct device *, void *, void *)); -void lxtphyattach __P((struct device *, struct device *, void *)); +int lxtphymatch(struct device *, void *, void *); +void lxtphyattach(struct device *, struct device *, void *); struct cfattach lxtphy_ca = { sizeof(struct mii_softc), lxtphymatch, lxtphyattach, mii_phy_detach, @@ -101,9 +101,9 @@ struct cfdriver lxtphy_cd = { NULL, "lxtphy", DV_DULL }; -int lxtphy_service __P((struct mii_softc *, struct mii_data *, int)); -void lxtphy_status __P((struct mii_softc *)); -void lxtphy_reset __P((struct mii_softc *)); +int lxtphy_service(struct mii_softc *, struct mii_data *, int); +void lxtphy_status(struct mii_softc *); +void lxtphy_reset(struct mii_softc *); int lxtphymatch(parent, match, aux) diff --git a/sys/dev/mii/mii.c b/sys/dev/mii/mii.c index 6be3c1cce0e..757dcd7fcd0 100644 --- a/sys/dev/mii/mii.c +++ b/sys/dev/mii/mii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mii.c,v 1.10 2001/10/10 15:05:47 jason Exp $ */ +/* $OpenBSD: mii.c,v 1.11 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD: mii.c,v 1.19 2000/02/02 17:09:44 thorpej Exp $ */ /*- @@ -55,8 +55,8 @@ #include <dev/mii/mii.h> #include <dev/mii/miivar.h> -int mii_print __P((void *, const char *)); -int mii_submatch __P((struct device *, void *, void *)); +int mii_print(void *, const char *); +int mii_submatch(struct device *, void *, void *); #define MIICF_PHY 0 /* cf_loc index */ #define MIICF_PHY_DEFAULT (-1) /* default phy device */ diff --git a/sys/dev/mii/mii_bitbang.c b/sys/dev/mii/mii_bitbang.c index 8de748b6d84..9d3de86a9aa 100644 --- a/sys/dev/mii/mii_bitbang.c +++ b/sys/dev/mii/mii_bitbang.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mii_bitbang.c,v 1.1 2001/03/11 02:48:19 aaron Exp $ */ +/* $OpenBSD: mii_bitbang.c,v 1.2 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD$ */ /*- @@ -48,9 +48,9 @@ #include <dev/mii/mii.h> #include <dev/mii/mii_bitbang.h> -void mii_bitbang_sync __P((struct device *, mii_bitbang_ops_t)); -void mii_bitbang_sendbits __P((struct device *, mii_bitbang_ops_t, - u_int32_t, int)); +void mii_bitbang_sync(struct device *, mii_bitbang_ops_t); +void mii_bitbang_sendbits(struct device *, mii_bitbang_ops_t, + u_int32_t, int); #define WRITE(x) \ do { \ diff --git a/sys/dev/mii/mii_bitbang.h b/sys/dev/mii/mii_bitbang.h index 2a03c445884..ef352f01ffb 100644 --- a/sys/dev/mii/mii_bitbang.h +++ b/sys/dev/mii/mii_bitbang.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mii_bitbang.h,v 1.1 2001/03/11 02:48:19 aaron Exp $ */ +/* $OpenBSD: mii_bitbang.h,v 1.2 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD$ */ /*- @@ -46,14 +46,14 @@ #define MII_NBITS 5 struct mii_bitbang_ops { - u_int32_t (*mbo_read) __P((struct device *)); - void (*mbo_write) __P((struct device *, u_int32_t)); + u_int32_t (*mbo_read)(struct device *); + void (*mbo_write)(struct device *, u_int32_t); u_int32_t mbo_bits[MII_NBITS]; }; typedef const struct mii_bitbang_ops *mii_bitbang_ops_t; -int mii_bitbang_readreg __P((struct device *, mii_bitbang_ops_t, - int, int)); -void mii_bitbang_writereg __P((struct device *, mii_bitbang_ops_t, - int, int, int)); +int mii_bitbang_readreg(struct device *, mii_bitbang_ops_t, + int, int); +void mii_bitbang_writereg(struct device *, mii_bitbang_ops_t, + int, int, int); diff --git a/sys/dev/mii/mii_physubr.c b/sys/dev/mii/mii_physubr.c index cca0dc38002..1959f61c274 100644 --- a/sys/dev/mii/mii_physubr.c +++ b/sys/dev/mii/mii_physubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mii_physubr.c,v 1.11 2001/10/05 18:33:33 nate Exp $ */ +/* $OpenBSD: mii_physubr.c,v 1.12 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD: mii_physubr.c,v 1.20 2001/04/13 23:30:09 thorpej Exp $ */ /*- @@ -72,7 +72,7 @@ const struct mii_media mii_media_table[] = { { BMCR_S1000|BMCR_FDX, ANAR_CSMA }, /* 1000base-FDX */ }; -void mii_phy_auto_timeout __P((void *)); +void mii_phy_auto_timeout(void *); void mii_phy_setmedia(sc) diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h index 473b3ed9332..4e3f8924999 100644 --- a/sys/dev/mii/miivar.h +++ b/sys/dev/mii/miivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: miivar.h,v 1.13 2001/10/05 18:33:33 nate Exp $ */ +/* $OpenBSD: miivar.h,v 1.14 2002/03/14 01:26:57 millert Exp $ */ /* $NetBSD: miivar.h,v 1.17 2000/03/06 20:56:57 thorpej Exp $ */ /*- @@ -61,9 +61,9 @@ struct mii_softc; /* * Callbacks from MII layer into network interface device driver. */ -typedef int (*mii_readreg_t) __P((struct device *, int, int)); -typedef void (*mii_writereg_t) __P((struct device *, int, int, int)); -typedef void (*mii_statchg_t) __P((struct device *)); +typedef int (*mii_readreg_t)(struct device *, int, int); +typedef void (*mii_writereg_t)(struct device *, int, int, int); +typedef void (*mii_statchg_t)(struct device *); /* * A network interface driver has one of these structures in its softc. @@ -103,12 +103,12 @@ typedef struct mii_data mii_data_t; * This call is used by the MII layer to call into the PHY driver * to perform a `service request'. */ -typedef int (*mii_downcall_t) __P((struct mii_softc *, struct mii_data *, int)); +typedef int (*mii_downcall_t)(struct mii_softc *, struct mii_data *, int); /* * This is a call back into the PHY driver made by a `status request'. */ -typedef void (*mii_statusreq_t) __P((struct mii_softc *)); +typedef void (*mii_statusreq_t)(struct mii_softc *); /* * Requests that can be made to the downcall. @@ -219,35 +219,35 @@ struct mii_media { #define mii_phy_probe(x, y, z) \ mii_attach((x), (y), (z), MII_PHY_ANY, MII_OFFSET_ANY, 0) -void mii_attach __P((struct device *, struct mii_data *, int, int, - int, int)); -void mii_activate __P((struct mii_data *, enum devact, int, int)); -void mii_detach __P((struct mii_data *, int, int)); +void mii_attach(struct device *, struct mii_data *, int, int, + int, int); +void mii_activate(struct mii_data *, enum devact, int, int); +void mii_detach(struct mii_data *, int, int); -int mii_mediachg __P((struct mii_data *)); -void mii_tick __P((struct mii_data *)); -void mii_pollstat __P((struct mii_data *)); -void mii_down __P((struct mii_data *)); +int mii_mediachg(struct mii_data *); +void mii_tick(struct mii_data *); +void mii_pollstat(struct mii_data *); +void mii_down(struct mii_data *); -int mii_phy_activate __P((struct device *, enum devact)); -int mii_phy_detach __P((struct device *, int)); +int mii_phy_activate(struct device *, enum devact); +int mii_phy_detach(struct device *, int); -void mii_phy_add_media __P((struct mii_softc *)); -void mii_phy_delete_media __P((struct mii_softc *)); +void mii_phy_add_media(struct mii_softc *); +void mii_phy_delete_media(struct mii_softc *); -void mii_phy_setmedia __P((struct mii_softc *)); -int mii_phy_auto __P((struct mii_softc *, int)); -void mii_phy_reset __P((struct mii_softc *)); -void mii_phy_down __P((struct mii_softc *)); -int mii_phy_tick __P((struct mii_softc *)); +void mii_phy_setmedia(struct mii_softc *); +int mii_phy_auto(struct mii_softc *, int); +void mii_phy_reset(struct mii_softc *); +void mii_phy_down(struct mii_softc *); +int mii_phy_tick(struct mii_softc *); -void mii_phy_status __P((struct mii_softc *)); -void mii_phy_update __P((struct mii_softc *, int)); -void mii_phy_statusmsg __P((struct mii_softc *)); +void mii_phy_status(struct mii_softc *); +void mii_phy_update(struct mii_softc *, int); +void mii_phy_statusmsg(struct mii_softc *); -void ukphy_status __P((struct mii_softc *)); +void ukphy_status(struct mii_softc *); -int mii_anar __P((int)); +int mii_anar(int); #endif /* _KERNEL */ #endif /* _DEV_MII_MIIVAR_H_ */ diff --git a/sys/dev/mii/mtdphy.c b/sys/dev/mii/mtdphy.c index 803b88c381a..5c14229fb97 100644 --- a/sys/dev/mii/mtdphy.c +++ b/sys/dev/mii/mtdphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mtdphy.c,v 1.5 2000/08/26 20:04:18 nate Exp $ */ +/* $OpenBSD: mtdphy.c,v 1.6 2002/03/14 01:26:58 millert Exp $ */ /* * Copyright (c) 1998, 1999 Jason L. Wright (jason@thought.net) @@ -51,8 +51,8 @@ #include <dev/mii/miidevs.h> #include <dev/mii/mtdphyreg.h> -int mtdphymatch __P((struct device *, void *, void *)); -void mtdphyattach __P((struct device *, struct device *, void *)); +int mtdphymatch(struct device *, void *, void *); +void mtdphyattach(struct device *, struct device *, void *); struct cfattach mtdphy_ca = { sizeof(struct mii_softc), mtdphymatch, mtdphyattach, mii_phy_detach, @@ -63,7 +63,7 @@ struct cfdriver mtdphy_cd = { NULL, "mtdphy", DV_DULL }; -int mtdphy_service __P((struct mii_softc *, struct mii_data *, int)); +int mtdphy_service(struct mii_softc *, struct mii_data *, int); int mtdphymatch(parent, match, aux) diff --git a/sys/dev/mii/nsgphy.c b/sys/dev/mii/nsgphy.c index a2a599fe5f6..2bd68625065 100644 --- a/sys/dev/mii/nsgphy.c +++ b/sys/dev/mii/nsgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nsgphy.c,v 1.6 2001/10/05 18:29:15 nate Exp $ */ +/* $OpenBSD: nsgphy.c,v 1.7 2002/03/14 01:26:58 millert Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 2001 @@ -64,8 +64,8 @@ #include <dev/mii/nsgphyreg.h> -int nsgphymatch __P((struct device*, void *, void *)); -void nsgphyattach __P((struct device *, struct device *, void *)); +int nsgphymatch(struct device*, void *, void *); +void nsgphyattach(struct device *, struct device *, void *); struct cfattach nsgphy_ca = { sizeof(struct mii_softc), nsgphymatch, nsgphyattach, mii_phy_detach, @@ -76,11 +76,11 @@ struct cfdriver nsgphy_cd = { NULL, "nsgphy", DV_DULL }; -int nsgphy_service __P((struct mii_softc *, struct mii_data *, int)); -void nsgphy_status __P((struct mii_softc *)); +int nsgphy_service(struct mii_softc *, struct mii_data *, int); +void nsgphy_status(struct mii_softc *); -static int nsgphy_mii_phy_auto __P((struct mii_softc *, int)); -extern void mii_phy_auto_timeout __P((void *)); +static int nsgphy_mii_phy_auto(struct mii_softc *, int); +extern void mii_phy_auto_timeout(void *); int diff --git a/sys/dev/mii/nsphy.c b/sys/dev/mii/nsphy.c index 2cab1ad731e..f7079b19666 100644 --- a/sys/dev/mii/nsphy.c +++ b/sys/dev/mii/nsphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nsphy.c,v 1.10 2001/10/05 18:26:48 nate Exp $ */ +/* $OpenBSD: nsphy.c,v 1.11 2002/03/14 01:26:58 millert Exp $ */ /* $NetBSD: nsphy.c,v 1.25 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -89,8 +89,8 @@ #include <dev/mii/nsphyreg.h> -int nsphymatch __P((struct device *, void *, void *)); -void nsphyattach __P((struct device *, struct device *, void *)); +int nsphymatch(struct device *, void *, void *); +void nsphyattach(struct device *, struct device *, void *); struct cfattach nsphy_ca = { sizeof(struct mii_softc), nsphymatch, nsphyattach, mii_phy_detach, @@ -101,9 +101,9 @@ struct cfdriver nsphy_cd = { NULL, "nsphy", DV_DULL }; -int nsphy_service __P((struct mii_softc *, struct mii_data *, int)); -void nsphy_status __P((struct mii_softc *)); -void nsphy_reset __P((struct mii_softc *)); +int nsphy_service(struct mii_softc *, struct mii_data *, int); +void nsphy_status(struct mii_softc *); +void nsphy_reset(struct mii_softc *); int nsphymatch(parent, match, aux) diff --git a/sys/dev/mii/nsphyter.c b/sys/dev/mii/nsphyter.c index 47cb7fe246e..57d533a466a 100644 --- a/sys/dev/mii/nsphyter.c +++ b/sys/dev/mii/nsphyter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nsphyter.c,v 1.4 2001/04/14 18:50:17 jason Exp $ */ +/* $OpenBSD: nsphyter.c,v 1.5 2002/03/14 01:26:58 millert Exp $ */ /* $NetBSD: nsphyter.c,v 1.5 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -89,8 +89,8 @@ #include <dev/mii/nsphyterreg.h> -int nsphytermatch __P((struct device *, void *, void *)); -void nsphyterattach __P((struct device *, struct device *, void *)); +int nsphytermatch(struct device *, void *, void *); +void nsphyterattach(struct device *, struct device *, void *); struct cfattach nsphyter_ca = { sizeof(struct mii_softc), nsphytermatch, nsphyterattach, @@ -101,8 +101,8 @@ struct cfdriver nsphyter_cd = { NULL, "nsphyter", DV_DULL }; -int nsphyter_service __P((struct mii_softc *, struct mii_data *, int)); -void nsphyter_status __P((struct mii_softc *)); +int nsphyter_service(struct mii_softc *, struct mii_data *, int); +void nsphyter_status(struct mii_softc *); int nsphytermatch(parent, match, aux) diff --git a/sys/dev/mii/qsphy.c b/sys/dev/mii/qsphy.c index 48b7404dab3..27e8873e361 100644 --- a/sys/dev/mii/qsphy.c +++ b/sys/dev/mii/qsphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qsphy.c,v 1.6 2000/08/26 20:04:18 nate Exp $ */ +/* $OpenBSD: qsphy.c,v 1.7 2002/03/14 01:26:58 millert Exp $ */ /* $NetBSD: qsphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -88,8 +88,8 @@ #include <dev/mii/qsphyreg.h> -int qsphymatch __P((struct device *, void *, void *)); -void qsphyattach __P((struct device *, struct device *, void *)); +int qsphymatch(struct device *, void *, void *); +void qsphyattach(struct device *, struct device *, void *); struct cfattach qsphy_ca = { sizeof(struct mii_softc), qsphymatch, qsphyattach, mii_phy_detach, @@ -100,9 +100,9 @@ struct cfdriver qsphy_cd = { NULL, "qsphy", DV_DULL }; -int qsphy_service __P((struct mii_softc *, struct mii_data *, int)); -void qsphy_reset __P((struct mii_softc *)); -void qsphy_status __P((struct mii_softc *)); +int qsphy_service(struct mii_softc *, struct mii_data *, int); +void qsphy_reset(struct mii_softc *); +void qsphy_status(struct mii_softc *); int qsphymatch(parent, match, aux) diff --git a/sys/dev/mii/rlphy.c b/sys/dev/mii/rlphy.c index d4948d867a6..a3bf28e31f1 100644 --- a/sys/dev/mii/rlphy.c +++ b/sys/dev/mii/rlphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rlphy.c,v 1.6 2000/08/26 20:04:18 nate Exp $ */ +/* $OpenBSD: rlphy.c,v 1.7 2002/03/14 01:26:58 millert Exp $ */ /* * Copyright (c) 1998, 1999 Jason L. Wright (jason@thought.net) @@ -52,8 +52,8 @@ #include <dev/mii/miivar.h> #include <dev/mii/miidevs.h> -int rlphymatch __P((struct device *, void *, void *)); -void rlphyattach __P((struct device *, struct device *, void *)); +int rlphymatch(struct device *, void *, void *); +void rlphyattach(struct device *, struct device *, void *); struct cfattach rlphy_ca = { sizeof(struct mii_softc), rlphymatch, rlphyattach, mii_phy_detach, @@ -64,8 +64,8 @@ struct cfdriver rlphy_cd = { NULL, "rlphy", DV_DULL }; -int rlphy_service __P((struct mii_softc *, struct mii_data *, int)); -void rlphy_reset __P((struct mii_softc *)); +int rlphy_service(struct mii_softc *, struct mii_data *, int); +void rlphy_reset(struct mii_softc *); int rlphymatch(parent, match, aux) diff --git a/sys/dev/mii/sqphy.c b/sys/dev/mii/sqphy.c index 02896f7f725..ff26e0823b3 100644 --- a/sys/dev/mii/sqphy.c +++ b/sys/dev/mii/sqphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sqphy.c,v 1.6 2001/05/30 21:41:14 deraadt Exp $ */ +/* $OpenBSD: sqphy.c,v 1.7 2002/03/14 01:26:58 millert Exp $ */ /* $NetBSD: sqphy.c,v 1.17 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -89,8 +89,8 @@ #include <dev/mii/sqphyreg.h> -int sqphymatch __P((struct device *, void *, void *)); -void sqphyattach __P((struct device *, struct device *, void *)); +int sqphymatch(struct device *, void *, void *); +void sqphyattach(struct device *, struct device *, void *); struct cfattach sqphy_ca = { sizeof(struct mii_softc), sqphymatch, sqphyattach, mii_phy_detach, @@ -101,8 +101,8 @@ struct cfdriver sqphy_cd = { NULL, "sqphy", DV_DULL }; -int sqphy_service __P((struct mii_softc *, struct mii_data *, int)); -void sqphy_status __P((struct mii_softc *)); +int sqphy_service(struct mii_softc *, struct mii_data *, int); +void sqphy_status(struct mii_softc *); int sqphymatch(parent, match, aux) diff --git a/sys/dev/mii/tlphy.c b/sys/dev/mii/tlphy.c index 00582287665..dd3cd7f565a 100644 --- a/sys/dev/mii/tlphy.c +++ b/sys/dev/mii/tlphy.c @@ -105,18 +105,18 @@ struct cfdriver tlphy_cd = { NULL, "tlphy", DV_DULL }; -int tlphymatch __P((struct device *, void *, void *)); -void tlphyattach __P((struct device *, struct device *, void *)); +int tlphymatch(struct device *, void *, void *); +void tlphyattach(struct device *, struct device *, void *); struct cfattach tlphy_ca = { sizeof(struct tlphy_softc), tlphymatch, tlphyattach, mii_phy_detach, mii_phy_activate }; -int tlphy_service __P((struct mii_softc *, struct mii_data *, int)); -int tlphy_auto __P((struct tlphy_softc *, int)); -void tlphy_acomp __P((struct tlphy_softc *)); -void tlphy_status __P((struct mii_softc *)); +int tlphy_service(struct mii_softc *, struct mii_data *, int); +int tlphy_auto(struct tlphy_softc *, int); +void tlphy_acomp(struct tlphy_softc *); +void tlphy_status(struct mii_softc *); int tlphymatch(parent, match, aux) diff --git a/sys/dev/mii/tqphy.c b/sys/dev/mii/tqphy.c index 7192042d13a..09c74634410 100644 --- a/sys/dev/mii/tqphy.c +++ b/sys/dev/mii/tqphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tqphy.c,v 1.3 2000/08/26 20:04:18 nate Exp $ */ +/* $OpenBSD: tqphy.c,v 1.4 2002/03/14 01:26:58 millert Exp $ */ /* $NetBSD: tqphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $ */ /* @@ -89,9 +89,9 @@ #include <dev/mii/tqphyreg.h> -int tqphymatch __P((struct device *, void *, void *)); -void tqphyattach __P((struct device *, struct device *, void *)); -int tqphydetach __P((struct device *, int)); +int tqphymatch(struct device *, void *, void *); +void tqphyattach(struct device *, struct device *, void *); +int tqphydetach(struct device *, int); struct cfattach tqphy_ca = { sizeof(struct mii_softc), tqphymatch, tqphyattach, mii_phy_detach, @@ -102,8 +102,8 @@ struct cfdriver tqphy_cd = { NULL, "tqphy", DV_DULL }; -int tqphy_service __P((struct mii_softc *, struct mii_data *, int)); -void tqphy_status __P((struct mii_softc *)); +int tqphy_service(struct mii_softc *, struct mii_data *, int); +void tqphy_status(struct mii_softc *); int tqphymatch(parent, match, aux) diff --git a/sys/dev/mii/txphy.c b/sys/dev/mii/txphy.c index 78d602701a0..62ebcface72 100644 --- a/sys/dev/mii/txphy.c +++ b/sys/dev/mii/txphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: txphy.c,v 1.3 2000/10/18 15:07:00 chris Exp $ */ +/* $OpenBSD: txphy.c,v 1.4 2002/03/14 01:26:58 millert Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -50,8 +50,8 @@ #include <dev/mii/miivar.h> #include <dev/mii/miidevs.h> -int txphymatch __P((struct device *, void *, void *)); -void txphyattach __P((struct device *, struct device *, void *)); +int txphymatch(struct device *, void *, void *); +void txphyattach(struct device *, struct device *, void *); struct cfattach txphy_ca = { sizeof(struct mii_softc), txphymatch, txphyattach, mii_phy_detach, @@ -62,7 +62,7 @@ struct cfdriver txphy_cd = { NULL, "txphy", DV_DULL }; -int txphy_service __P((struct mii_softc *, struct mii_data *, int)); +int txphy_service(struct mii_softc *, struct mii_data *, int); int txphymatch(parent, match, aux) diff --git a/sys/dev/mii/ukphy.c b/sys/dev/mii/ukphy.c index 5652a8412e0..6f019a1cabd 100644 --- a/sys/dev/mii/ukphy.c +++ b/sys/dev/mii/ukphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ukphy.c,v 1.9 2001/06/08 02:16:41 nate Exp $ */ +/* $OpenBSD: ukphy.c,v 1.10 2002/03/14 01:26:58 millert Exp $ */ /* $NetBSD: ukphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -85,8 +85,8 @@ #include <dev/mii/mii.h> #include <dev/mii/miivar.h> -int ukphymatch __P((struct device *, void *, void *)); -void ukphyattach __P((struct device *, struct device *, void *)); +int ukphymatch(struct device *, void *, void *); +void ukphyattach(struct device *, struct device *, void *); struct cfattach ukphy_ca = { sizeof(struct mii_softc), ukphymatch, ukphyattach, mii_phy_detach, @@ -97,7 +97,7 @@ struct cfdriver ukphy_cd = { NULL, "ukphy", DV_DULL }; -int ukphy_service __P((struct mii_softc *, struct mii_data *, int)); +int ukphy_service(struct mii_softc *, struct mii_data *, int); int ukphymatch(parent, match, aux) diff --git a/sys/dev/mii/xmphy.c b/sys/dev/mii/xmphy.c index c7ed22901e9..3c49bc0d884 100644 --- a/sys/dev/mii/xmphy.c +++ b/sys/dev/mii/xmphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xmphy.c,v 1.4 2001/10/05 18:26:48 nate Exp $ */ +/* $OpenBSD: xmphy.c,v 1.5 2002/03/14 01:26:58 millert Exp $ */ /* * Copyright (c) 2000 @@ -57,8 +57,8 @@ #include <dev/mii/xmphyreg.h> -int xmphy_probe __P((struct device *, void *, void *)); -void xmphy_attach __P((struct device *, struct device *, void *)); +int xmphy_probe(struct device *, void *, void *); +void xmphy_attach(struct device *, struct device *, void *); struct cfattach xmphy_ca = { sizeof(struct mii_softc), xmphy_probe, xmphy_attach, mii_phy_detach, @@ -69,11 +69,11 @@ struct cfdriver xmphy_cd = { NULL, "xmphy", DV_DULL }; -int xmphy_service __P((struct mii_softc *, struct mii_data *, int)); -void xmphy_status __P((struct mii_softc *)); +int xmphy_service(struct mii_softc *, struct mii_data *, int); +void xmphy_status(struct mii_softc *); -int xmphy_mii_phy_auto __P((struct mii_softc *, int)); -extern void mii_phy_auto_timeout __P((void *)); +int xmphy_mii_phy_auto(struct mii_softc *, int); +extern void mii_phy_auto_timeout(void *); int xmphy_probe(parent, match, aux) struct device *parent; |