summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_rl.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_rl.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_rl.c')
-rw-r--r--sys/pci/if_rl.c74
1 files changed, 37 insertions, 37 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index d71d26b..e71cbb8 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -174,47 +174,47 @@ static struct rl_type rl_devs[] = {
{ 0, 0, 0, NULL }
};
-static int rl_attach (device_t);
-static int rl_detach (device_t);
-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);
-static void rl_eeprom_putbyte (struct rl_softc *, int);
-static void rl_eeprom_getword (struct rl_softc *, int, uint16_t *);
-static int rl_encap (struct rl_softc *, struct mbuf * );
-static int rl_list_tx_init (struct rl_softc *);
-static int rl_ifmedia_upd (struct ifnet *);
-static void rl_ifmedia_sts (struct ifnet *, struct ifmediareq *);
-static int rl_ioctl (struct ifnet *, u_long, caddr_t);
-static void rl_intr (void *);
-static void rl_init (void *);
-static void rl_init_locked (struct rl_softc *sc);
-static void rl_mii_send (struct rl_softc *, uint32_t, int);
-static void rl_mii_sync (struct rl_softc *);
-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 void rl_miibus_statchg (device_t);
-static int rl_miibus_writereg (device_t, int, int, int);
+static int rl_attach(device_t);
+static int rl_detach(device_t);
+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);
+static void rl_eeprom_putbyte(struct rl_softc *, int);
+static void rl_eeprom_getword(struct rl_softc *, int, uint16_t *);
+static int rl_encap(struct rl_softc *, struct mbuf * );
+static int rl_list_tx_init(struct rl_softc *);
+static int rl_ifmedia_upd(struct ifnet *);
+static void rl_ifmedia_sts(struct ifnet *, struct ifmediareq *);
+static int rl_ioctl(struct ifnet *, u_long, caddr_t);
+static void rl_intr(void *);
+static void rl_init(void *);
+static void rl_init_locked(struct rl_softc *sc);
+static void rl_mii_send(struct rl_softc *, uint32_t, int);
+static void rl_mii_sync(struct rl_softc *);
+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 void rl_miibus_statchg(device_t);
+static int rl_miibus_writereg(device_t, int, int, int);
#ifdef DEVICE_POLLING
-static void rl_poll (struct ifnet *ifp, enum poll_cmd cmd,
+static void rl_poll(struct ifnet *ifp, enum poll_cmd cmd,
int count);
-static void rl_poll_locked (struct ifnet *ifp, enum poll_cmd cmd,
+static void rl_poll_locked(struct ifnet *ifp, enum poll_cmd cmd,
int count);
#endif
-static int rl_probe (device_t);
-static void rl_read_eeprom (struct rl_softc *, uint8_t *, int, int, int);
-static void rl_reset (struct rl_softc *);
-static int rl_resume (device_t);
-static void rl_rxeof (struct rl_softc *);
-static void rl_setmulti (struct rl_softc *);
-static void rl_shutdown (device_t);
-static void rl_start (struct ifnet *);
-static void rl_start_locked (struct ifnet *);
-static void rl_stop (struct rl_softc *);
-static int rl_suspend (device_t);
-static void rl_tick (void *);
-static void rl_txeof (struct rl_softc *);
-static void rl_watchdog (struct ifnet *);
+static int rl_probe(device_t);
+static void rl_read_eeprom(struct rl_softc *, uint8_t *, int, int, int);
+static void rl_reset(struct rl_softc *);
+static int rl_resume(device_t);
+static void rl_rxeof(struct rl_softc *);
+static void rl_setmulti(struct rl_softc *);
+static void rl_shutdown(device_t);
+static void rl_start(struct ifnet *);
+static void rl_start_locked(struct ifnet *);
+static void rl_stop(struct rl_softc *);
+static int rl_suspend(device_t);
+static void rl_tick(void *);
+static void rl_txeof(struct rl_softc *);
+static void rl_watchdog(struct ifnet *);
#ifdef RL_USEIOSPACE
#define RL_RES SYS_RES_IOPORT
OpenPOWER on IntegriCloud