summaryrefslogtreecommitdiffstats
path: root/sys/dev/an
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-20 02:08:01 +0000
committeralfred <alfred@FreeBSD.org>2002-03-20 02:08:01 +0000
commit3264aec746947db8598130cb0ac382cf0b2a10cf (patch)
tree13b2f09af75205c81c286aaf60527ae3de623e14 /sys/dev/an
parente8f7a49843febbd1d96e06f28e56160c942029dd (diff)
downloadFreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.zip
FreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.tar.gz
Remove __P.
Diffstat (limited to 'sys/dev/an')
-rw-r--r--sys/dev/an/if_an.c74
-rw-r--r--sys/dev/an/if_an_isa.c6
-rw-r--r--sys/dev/an/if_an_pci.c6
-rw-r--r--sys/dev/an/if_anreg.h16
4 files changed, 50 insertions, 52 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index ad143c9..e713796 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -136,54 +136,52 @@ static const char rcsid[] =
#endif
/* These are global because we need them in sys/pci/if_an_p.c. */
-static void an_reset __P((struct an_softc *));
-static int an_ioctl __P((struct ifnet *, u_long, caddr_t));
-static void an_init __P((void *));
-static int an_init_tx_ring __P((struct an_softc *));
-static void an_start __P((struct ifnet *));
-static void an_watchdog __P((struct ifnet *));
-static void an_rxeof __P((struct an_softc *));
-static void an_txeof __P((struct an_softc *, int));
-
-static void an_promisc __P((struct an_softc *, int));
-static int an_cmd __P((struct an_softc *, int, int));
-static int an_read_record __P((struct an_softc *, struct an_ltv_gen *));
-static int an_write_record __P((struct an_softc *, struct an_ltv_gen *));
-static int an_read_data __P((struct an_softc *, int,
- int, caddr_t, int));
-static int an_write_data __P((struct an_softc *, int,
- int, caddr_t, int));
-static int an_seek __P((struct an_softc *, int, int, int));
-static int an_alloc_nicmem __P((struct an_softc *, int, int *));
-static void an_stats_update __P((void *));
-static void an_setdef __P((struct an_softc *, struct an_req *));
+static void an_reset (struct an_softc *);
+static int an_ioctl (struct ifnet *, u_long, caddr_t);
+static void an_init (void *);
+static int an_init_tx_ring (struct an_softc *);
+static void an_start (struct ifnet *);
+static void an_watchdog (struct ifnet *);
+static void an_rxeof (struct an_softc *);
+static void an_txeof (struct an_softc *, int);
+
+static void an_promisc (struct an_softc *, int);
+static int an_cmd (struct an_softc *, int, int);
+static int an_read_record (struct an_softc *, struct an_ltv_gen *);
+static int an_write_record (struct an_softc *, struct an_ltv_gen *);
+static int an_read_data (struct an_softc *, int, int, caddr_t, int);
+static int an_write_data (struct an_softc *, int, int, caddr_t, int);
+static int an_seek (struct an_softc *, int, int, int);
+static int an_alloc_nicmem (struct an_softc *, int, int *);
+static void an_stats_update (void *);
+static void an_setdef (struct an_softc *, struct an_req *);
#ifdef ANCACHE
-static void an_cache_store __P((struct an_softc *, struct ether_header *,
- struct mbuf *, unsigned short));
+static void an_cache_store (struct an_softc *, struct ether_header *,
+ struct mbuf *, unsigned short);
#endif
/* function definitions for use with the Cisco's Linux configuration
utilities
*/
-static int readrids __P((struct ifnet*, struct aironet_ioctl*));
-static int writerids __P((struct ifnet*, struct aironet_ioctl*));
-static int flashcard __P((struct ifnet*, struct aironet_ioctl*));
+static int readrids(struct ifnet*, struct aironet_ioctl*);
+static int writerids(struct ifnet*, struct aironet_ioctl*);
+static int flashcard(struct ifnet*, struct aironet_ioctl*);
-static int cmdreset __P((struct ifnet *));
-static int setflashmode __P((struct ifnet *));
-static int flashgchar __P((struct ifnet *,int,int));
-static int flashpchar __P((struct ifnet *,int,int));
-static int flashputbuf __P((struct ifnet *));
-static int flashrestart __P((struct ifnet *));
-static int WaitBusy __P((struct ifnet *, int));
-static int unstickbusy __P((struct ifnet *));
+static int cmdreset(struct ifnet *);
+static int setflashmode(struct ifnet *);
+static int flashgchar(struct ifnet *,int,int);
+static int flashpchar(struct ifnet *,int,int);
+static int flashputbuf(struct ifnet *);
+static int flashrestart(struct ifnet *);
+static int WaitBusy(struct ifnet *, int);
+static int unstickbusy(struct ifnet *);
-static void an_dump_record __P((struct an_softc *,struct an_ltv_gen *,
- char *));
+static void an_dump_record (struct an_softc *,struct an_ltv_gen *,
+ char *);
-static int an_media_change __P((struct ifnet *));
-static void an_media_status __P((struct ifnet *, struct ifmediareq *));
+static int an_media_change (struct ifnet *);
+static void an_media_status (struct ifnet *, struct ifmediareq *);
static int an_dump = 0;
diff --git a/sys/dev/an/if_an_isa.c b/sys/dev/an/if_an_isa.c
index 54489bc..db879a5 100644
--- a/sys/dev/an/if_an_isa.c
+++ b/sys/dev/an/if_an_isa.c
@@ -81,9 +81,9 @@ static struct isa_pnp_id an_ids[] = {
{ 0, NULL }
};
-static int an_probe_isa __P((device_t));
-static int an_attach_isa __P((device_t));
-static int an_detach_isa __P((device_t));
+static int an_probe_isa (device_t);
+static int an_attach_isa (device_t);
+static int an_detach_isa (device_t);
static int
an_probe_isa(dev)
diff --git a/sys/dev/an/if_an_pci.c b/sys/dev/an/if_an_pci.c
index 3d0223d..f1e320a 100644
--- a/sys/dev/an/if_an_pci.c
+++ b/sys/dev/an/if_an_pci.c
@@ -112,9 +112,9 @@ static struct an_type an_devs[] = {
{ 0, 0, NULL }
};
-static int an_probe_pci __P((device_t));
-static int an_attach_pci __P((device_t));
-static int an_detach_pci __P((device_t));
+static int an_probe_pci (device_t);
+static int an_attach_pci (device_t);
+static int an_detach_pci (device_t);
static int
an_probe_pci(device_t dev)
diff --git a/sys/dev/an/if_anreg.h b/sys/dev/an/if_anreg.h
index 9d56314..70350ee 100644
--- a/sys/dev/an/if_anreg.h
+++ b/sys/dev/an/if_anreg.h
@@ -368,14 +368,14 @@ struct an_softc {
#define AN_LOCK(_sc) mtx_lock(&(_sc)->an_mtx)
#define AN_UNLOCK(_sc) mtx_unlock(&(_sc)->an_mtx)
-void an_release_resources __P((device_t));
-int an_alloc_port __P((device_t, int, int));
-int an_alloc_memory __P((device_t, int, int));
-int an_alloc_irq __P((device_t, int, int));
-int an_probe __P((device_t));
-void an_shutdown __P((device_t));
-int an_attach __P((struct an_softc *, int, int));
-void an_stop __P((struct an_softc *));
+void an_release_resources (device_t);
+int an_alloc_port (device_t, int, int);
+int an_alloc_memory (device_t, int, int);
+int an_alloc_irq (device_t, int, int);
+int an_probe (device_t);
+void an_shutdown (device_t);
+int an_attach (struct an_softc *, int, int);
+void an_stop (struct an_softc *);
driver_intr_t an_intr;
OpenPOWER on IntegriCloud