aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ep
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-03-20 02:08:01 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-03-20 02:08:01 +0000
commite51a25f8505c7f9c6684c928bb59b0bda2fc039b (patch)
tree13b2f09af75205c81c286aaf60527ae3de623e14 /sys/dev/ep
parentc605e9e62f94150fea168cf43328076ea7789885 (diff)
Notes
Diffstat (limited to 'sys/dev/ep')
-rw-r--r--sys/dev/ep/if_ep.c18
-rw-r--r--sys/dev/ep/if_ep_eisa.c2
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c
index 7798325c770d..e0a6795fe822 100644
--- a/sys/dev/ep/if_ep.c
+++ b/sys/dev/ep/if_ep.c
@@ -95,18 +95,18 @@ static int ep_media2if_media[] =
{ IFM_10_T, IFM_10_5, IFM_NONE, IFM_10_2, IFM_NONE };
/* if functions */
-static void ep_if_init __P((void *));
-static int ep_if_ioctl __P((struct ifnet *, u_long, caddr_t));
-static void ep_if_start __P((struct ifnet *));
-static void ep_if_watchdog __P((struct ifnet *));
+static void ep_if_init (void *);
+static int ep_if_ioctl (struct ifnet *, u_long, caddr_t);
+static void ep_if_start (struct ifnet *);
+static void ep_if_watchdog (struct ifnet *);
/* if_media functions */
-static int ep_ifmedia_upd __P((struct ifnet *));
-static void ep_ifmedia_sts __P((struct ifnet *, struct ifmediareq *));
+static int ep_ifmedia_upd (struct ifnet *);
+static void ep_ifmedia_sts (struct ifnet *, struct ifmediareq *);
-static void epstop __P((struct ep_softc *));
-static void epread __P((struct ep_softc *));
-static int eeprom_rdy __P((struct ep_softc *));
+static void epstop (struct ep_softc *);
+static void epread (struct ep_softc *);
+static int eeprom_rdy (struct ep_softc *);
#define EP_FTST(sc, f) (sc->stat & (f))
#define EP_FSET(sc, f) (sc->stat |= (f))
diff --git a/sys/dev/ep/if_ep_eisa.c b/sys/dev/ep/if_ep_eisa.c
index 63be85c39fae..f0bef6d740a6 100644
--- a/sys/dev/ep/if_ep_eisa.c
+++ b/sys/dev/ep/if_ep_eisa.c
@@ -70,7 +70,7 @@
#define TRANS_AUI 0x4000
#define TRANS_BNC 0xc000
-static const char *ep_match __P((eisa_id_t type));
+static const char *ep_match(eisa_id_t type);
static const char*
ep_match(eisa_id_t type)