summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_pcn.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-02-24 22:33:05 +0000
committerimp <imp@FreeBSD.org>2005-02-24 22:33:05 +0000
commitb5521d6df746ce6e4a69360def49ec22058017c9 (patch)
tree5029a9853f80584a87f9c3fc558ef077b42f5c62 /sys/pci/if_pcn.c
parent3341256644fc97a2c2df017479c65b7efd008a68 (diff)
downloadFreeBSD-src-b5521d6df746ce6e4a69360def49ec22058017c9.zip
FreeBSD-src-b5521d6df746ce6e4a69360def49ec22058017c9.tar.gz
Fix style(9) issues with __P removal.
Noticed by: bde
Diffstat (limited to 'sys/pci/if_pcn.c')
-rw-r--r--sys/pci/if_pcn.c77
1 files changed, 38 insertions, 39 deletions
diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c
index 93d30d8..6305e29 100644
--- a/sys/pci/if_pcn.c
+++ b/sys/pci/if_pcn.c
@@ -123,45 +123,44 @@ static struct pcn_chipid {
{ 0, NULL },
};
-static char * pcn_chipid_name(u_int32_t);
-static u_int32_t pcn_chip_id (device_t);
-
-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 void pcn_reset (struct pcn_softc *);
-static int pcn_list_rx_init (struct pcn_softc *);
-static int pcn_list_tx_init (struct pcn_softc *);
+static char * pcn_chipid_name(u_int32_t);
+static u_int32_t pcn_chip_id(device_t);
+
+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 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
OpenPOWER on IntegriCloud