diff options
author | imp <imp@FreeBSD.org> | 2005-02-24 22:33:05 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-02-24 22:33:05 +0000 |
commit | b5521d6df746ce6e4a69360def49ec22058017c9 (patch) | |
tree | 5029a9853f80584a87f9c3fc558ef077b42f5c62 /sys/pci/if_vr.c | |
parent | 3341256644fc97a2c2df017479c65b7efd008a68 (diff) | |
download | FreeBSD-src-b5521d6df746ce6e4a69360def49ec22058017c9.zip FreeBSD-src-b5521d6df746ce6e4a69360def49ec22058017c9.tar.gz |
Fix style(9) issues with __P removal.
Noticed by: bde
Diffstat (limited to 'sys/pci/if_vr.c')
-rw-r--r-- | sys/pci/if_vr.c | 74 |
1 files changed, 36 insertions, 38 deletions
diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c index ac13ec1..843be85 100644 --- a/sys/pci/if_vr.c +++ b/sys/pci/if_vr.c @@ -126,47 +126,45 @@ static struct vr_type vr_devs[] = { { 0, 0, NULL } }; -static int vr_probe (device_t); -static int vr_attach (device_t); -static int vr_detach (device_t); - -static int vr_newbuf (struct vr_softc *, - struct vr_chain_onefrag *, - struct mbuf *); -static int vr_encap (struct vr_softc *, struct vr_chain *, - struct mbuf * ); - -static void vr_rxeof (struct vr_softc *); -static void vr_rxeoc (struct vr_softc *); -static void vr_txeof (struct vr_softc *); -static void vr_tick (void *); -static void vr_intr (void *); -static void vr_start (struct ifnet *); -static void vr_start_locked (struct ifnet *); -static int vr_ioctl (struct ifnet *, u_long, caddr_t); -static void vr_init (void *); -static void vr_init_locked (struct vr_softc *); -static void vr_stop (struct vr_softc *); -static void vr_watchdog (struct ifnet *); -static void vr_shutdown (device_t); -static int vr_ifmedia_upd (struct ifnet *); -static void vr_ifmedia_sts (struct ifnet *, struct ifmediareq *); +static int vr_probe(device_t); +static int vr_attach(device_t); +static int vr_detach(device_t); + +static int vr_newbuf(struct vr_softc *, struct vr_chain_onefrag *, + struct mbuf *); +static int vr_encap(struct vr_softc *, struct vr_chain *, struct mbuf * ); + +static void vr_rxeof(struct vr_softc *); +static void vr_rxeoc(struct vr_softc *); +static void vr_txeof(struct vr_softc *); +static void vr_tick(void *); +static void vr_intr(void *); +static void vr_start(struct ifnet *); +static void vr_start_locked(struct ifnet *); +static int vr_ioctl(struct ifnet *, u_long, caddr_t); +static void vr_init(void *); +static void vr_init_locked(struct vr_softc *); +static void vr_stop(struct vr_softc *); +static void vr_watchdog(struct ifnet *); +static void vr_shutdown(device_t); +static int vr_ifmedia_upd(struct ifnet *); +static void vr_ifmedia_sts(struct ifnet *, struct ifmediareq *); #ifdef VR_USESWSHIFT -static void vr_mii_sync (struct vr_softc *); -static void vr_mii_send (struct vr_softc *, uint32_t, int); +static void vr_mii_sync(struct vr_softc *); +static void vr_mii_send(struct vr_softc *, uint32_t, int); #endif -static int vr_mii_readreg (struct vr_softc *, struct vr_mii_frame *); -static int vr_mii_writereg (struct vr_softc *, struct vr_mii_frame *); -static int vr_miibus_readreg (device_t, uint16_t, uint16_t); -static int vr_miibus_writereg (device_t, uint16_t, uint16_t, uint16_t); -static void vr_miibus_statchg (device_t); - -static void vr_setcfg (struct vr_softc *, int); -static void vr_setmulti (struct vr_softc *); -static void vr_reset (struct vr_softc *); -static int vr_list_rx_init (struct vr_softc *); -static int vr_list_tx_init (struct vr_softc *); +static int vr_mii_readreg(struct vr_softc *, struct vr_mii_frame *); +static int vr_mii_writereg(struct vr_softc *, struct vr_mii_frame *); +static int vr_miibus_readreg(device_t, uint16_t, uint16_t); +static int vr_miibus_writereg(device_t, uint16_t, uint16_t, uint16_t); +static void vr_miibus_statchg(device_t); + +static void vr_setcfg(struct vr_softc *, int); +static void vr_setmulti(struct vr_softc *); +static void vr_reset(struct vr_softc *); +static int vr_list_rx_init(struct vr_softc *); +static int vr_list_tx_init(struct vr_softc *); #ifdef VR_USEIOSPACE #define VR_RES SYS_RES_IOPORT |