diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-20 02:08:01 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-20 02:08:01 +0000 |
commit | 3264aec746947db8598130cb0ac382cf0b2a10cf (patch) | |
tree | 13b2f09af75205c81c286aaf60527ae3de623e14 /sys/pci/if_pcn.c | |
parent | e8f7a49843febbd1d96e06f28e56160c942029dd (diff) | |
download | FreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.zip FreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.tar.gz |
Remove __P.
Diffstat (limited to 'sys/pci/if_pcn.c')
-rw-r--r-- | sys/pci/if_pcn.c | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c index 6a177c6..c1f42e2 100644 --- a/sys/pci/if_pcn.c +++ b/sys/pci/if_pcn.c @@ -109,43 +109,43 @@ static struct pcn_type pcn_devs[] = { { 0, 0, NULL } }; -static u_int32_t pcn_csr_read __P((struct pcn_softc *, int)); -static u_int16_t pcn_csr_read16 __P((struct pcn_softc *, int)); -static u_int16_t pcn_bcr_read16 __P((struct pcn_softc *, int)); -static void pcn_csr_write __P((struct pcn_softc *, int, int)); -static u_int32_t pcn_bcr_read __P((struct pcn_softc *, int)); -static void pcn_bcr_write __P((struct pcn_softc *, int, int)); - -static int pcn_probe __P((device_t)); -static int pcn_attach __P((device_t)); -static int pcn_detach __P((device_t)); - -static int pcn_newbuf __P((struct pcn_softc *, int, struct mbuf *)); -static int pcn_encap __P((struct pcn_softc *, - struct mbuf *, u_int32_t *)); -static void pcn_rxeof __P((struct pcn_softc *)); -static void pcn_txeof __P((struct pcn_softc *)); -static void pcn_intr __P((void *)); -static void pcn_tick __P((void *)); -static void pcn_start __P((struct ifnet *)); -static int pcn_ioctl __P((struct ifnet *, u_long, caddr_t)); -static void pcn_init __P((void *)); -static void pcn_stop __P((struct pcn_softc *)); -static void pcn_watchdog __P((struct ifnet *)); -static void pcn_shutdown __P((device_t)); -static int pcn_ifmedia_upd __P((struct ifnet *)); -static void pcn_ifmedia_sts __P((struct ifnet *, struct ifmediareq *)); - -static int pcn_miibus_readreg __P((device_t, int, int)); -static int pcn_miibus_writereg __P((device_t, int, int, int)); -static void pcn_miibus_statchg __P((device_t)); - -static void pcn_setfilt __P((struct ifnet *)); -static void pcn_setmulti __P((struct pcn_softc *)); -static u_int32_t pcn_crc __P((caddr_t)); -static void pcn_reset __P((struct pcn_softc *)); -static int pcn_list_rx_init __P((struct pcn_softc *)); -static int pcn_list_tx_init __P((struct pcn_softc *)); +static u_int32_t pcn_csr_read (struct pcn_softc *, int); +static u_int16_t pcn_csr_read16 (struct pcn_softc *, int); +static u_int16_t pcn_bcr_read16 (struct pcn_softc *, int); +static void pcn_csr_write (struct pcn_softc *, int, int); +static u_int32_t pcn_bcr_read (struct pcn_softc *, int); +static void pcn_bcr_write (struct pcn_softc *, int, int); + +static int pcn_probe (device_t); +static int pcn_attach (device_t); +static int pcn_detach (device_t); + +static int pcn_newbuf (struct pcn_softc *, int, struct mbuf *); +static int pcn_encap (struct pcn_softc *, + struct mbuf *, u_int32_t *); +static void pcn_rxeof (struct pcn_softc *); +static void pcn_txeof (struct pcn_softc *); +static void pcn_intr (void *); +static void pcn_tick (void *); +static void pcn_start (struct ifnet *); +static int pcn_ioctl (struct ifnet *, u_long, caddr_t); +static void pcn_init (void *); +static void pcn_stop (struct pcn_softc *); +static void pcn_watchdog (struct ifnet *); +static void pcn_shutdown (device_t); +static int pcn_ifmedia_upd (struct ifnet *); +static void pcn_ifmedia_sts (struct ifnet *, struct ifmediareq *); + +static int pcn_miibus_readreg (device_t, int, int); +static int pcn_miibus_writereg (device_t, int, int, int); +static void pcn_miibus_statchg (device_t); + +static void pcn_setfilt (struct ifnet *); +static void pcn_setmulti (struct pcn_softc *); +static u_int32_t pcn_crc (caddr_t); +static void pcn_reset (struct pcn_softc *); +static int pcn_list_rx_init (struct pcn_softc *); +static int pcn_list_tx_init (struct pcn_softc *); #ifdef PCN_USEIOSPACE #define PCN_RES SYS_RES_IOPORT |