summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_rl.c
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/pci/if_rl.c
parente8f7a49843febbd1d96e06f28e56160c942029dd (diff)
downloadFreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.zip
FreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.tar.gz
Remove __P.
Diffstat (limited to 'sys/pci/if_rl.c')
-rw-r--r--sys/pci/if_rl.c83
1 files changed, 40 insertions, 43 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index be47166..aec9420 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -155,49 +155,46 @@ static struct rl_type rl_devs[] = {
{ 0, 0, NULL }
};
-static int rl_probe __P((device_t));
-static int rl_attach __P((device_t));
-static int rl_detach __P((device_t));
-
-static int rl_encap __P((struct rl_softc *, struct mbuf * ));
-
-static void rl_rxeof __P((struct rl_softc *));
-static void rl_txeof __P((struct rl_softc *));
-static void rl_intr __P((void *));
-static void rl_tick __P((void *));
-static void rl_start __P((struct ifnet *));
-static int rl_ioctl __P((struct ifnet *, u_long, caddr_t));
-static void rl_init __P((void *));
-static void rl_stop __P((struct rl_softc *));
-static void rl_watchdog __P((struct ifnet *));
-static int rl_suspend __P((device_t));
-static int rl_resume __P((device_t));
-static void rl_shutdown __P((device_t));
-static int rl_ifmedia_upd __P((struct ifnet *));
-static void rl_ifmedia_sts __P((struct ifnet *, struct ifmediareq *));
-
-static void rl_eeprom_putbyte __P((struct rl_softc *, int));
-static void rl_eeprom_getword __P((struct rl_softc *, int, u_int16_t *));
-static void rl_read_eeprom __P((struct rl_softc *, caddr_t,
- int, int, int));
-static void rl_mii_sync __P((struct rl_softc *));
-static void rl_mii_send __P((struct rl_softc *, u_int32_t, int));
-static int rl_mii_readreg __P((struct rl_softc *, struct rl_mii_frame *));
-static int rl_mii_writereg __P((struct rl_softc *, struct rl_mii_frame *));
-
-static int rl_miibus_readreg __P((device_t, int, int));
-static int rl_miibus_writereg __P((device_t, int, int, int));
-static void rl_miibus_statchg __P((device_t));
-
-static u_int8_t rl_calchash __P((caddr_t));
-static void rl_setmulti __P((struct rl_softc *));
-static void rl_reset __P((struct rl_softc *));
-static int rl_list_tx_init __P((struct rl_softc *));
-
-static void rl_dma_map_rxbuf __P((void *, bus_dma_segment_t *,
- int, int));
-static void rl_dma_map_txbuf __P((void *, bus_dma_segment_t *,
- int, int));
+static int rl_probe (device_t);
+static int rl_attach (device_t);
+static int rl_detach (device_t);
+
+static int rl_encap (struct rl_softc *, struct mbuf * );
+
+static void rl_rxeof (struct rl_softc *);
+static void rl_txeof (struct rl_softc *);
+static void rl_intr (void *);
+static void rl_tick (void *);
+static void rl_start (struct ifnet *);
+static int rl_ioctl (struct ifnet *, u_long, caddr_t);
+static void rl_init (void *);
+static void rl_stop (struct rl_softc *);
+static void rl_watchdog (struct ifnet *);
+static int rl_suspend (device_t);
+static int rl_resume (device_t);
+static void rl_shutdown (device_t);
+static int rl_ifmedia_upd (struct ifnet *);
+static void rl_ifmedia_sts (struct ifnet *, struct ifmediareq *);
+
+static void rl_eeprom_putbyte (struct rl_softc *, int);
+static void rl_eeprom_getword (struct rl_softc *, int, u_int16_t *);
+static void rl_read_eeprom (struct rl_softc *, caddr_t, int, int, int);
+static void rl_mii_sync (struct rl_softc *);
+static void rl_mii_send (struct rl_softc *, u_int32_t, int);
+static int rl_mii_readreg (struct rl_softc *, struct rl_mii_frame *);
+static int rl_mii_writereg (struct rl_softc *, struct rl_mii_frame *);
+
+static int rl_miibus_readreg (device_t, int, int);
+static int rl_miibus_writereg (device_t, int, int, int);
+static void rl_miibus_statchg (device_t);
+
+static u_int8_t rl_calchash (caddr_t);
+static void rl_setmulti (struct rl_softc *);
+static void rl_reset (struct rl_softc *);
+static int rl_list_tx_init (struct rl_softc *);
+
+static void rl_dma_map_rxbuf (void *, bus_dma_segment_t *, int, int);
+static void rl_dma_map_txbuf (void *, bus_dma_segment_t *, int, int);
#ifdef RL_USEIOSPACE
#define RL_RES SYS_RES_IOPORT
OpenPOWER on IntegriCloud