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_wb.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_wb.c')
-rw-r--r-- | sys/pci/if_wb.c | 86 |
1 files changed, 42 insertions, 44 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c index abd8bac..e22d61c 100644 --- a/sys/pci/if_wb.c +++ b/sys/pci/if_wb.c @@ -140,50 +140,48 @@ static struct wb_type wb_devs[] = { { 0, 0, NULL } }; -static int wb_probe (device_t); -static int wb_attach (device_t); -static int wb_detach (device_t); - -static void wb_bfree (void *addr, void *args); -static int wb_newbuf (struct wb_softc *, - struct wb_chain_onefrag *, - struct mbuf *); -static int wb_encap (struct wb_softc *, struct wb_chain *, - struct mbuf *); - -static void wb_rxeof (struct wb_softc *); -static void wb_rxeoc (struct wb_softc *); -static void wb_txeof (struct wb_softc *); -static void wb_txeoc (struct wb_softc *); -static void wb_intr (void *); -static void wb_tick (void *); -static void wb_start (struct ifnet *); -static int wb_ioctl (struct ifnet *, u_long, caddr_t); -static void wb_init (void *); -static void wb_stop (struct wb_softc *); -static void wb_watchdog (struct ifnet *); -static void wb_shutdown (device_t); -static int wb_ifmedia_upd (struct ifnet *); -static void wb_ifmedia_sts (struct ifnet *, struct ifmediareq *); - -static void wb_eeprom_putbyte (struct wb_softc *, int); -static void wb_eeprom_getword (struct wb_softc *, int, u_int16_t *); -static void wb_read_eeprom (struct wb_softc *, caddr_t, int, int, int); -static void wb_mii_sync (struct wb_softc *); -static void wb_mii_send (struct wb_softc *, u_int32_t, int); -static int wb_mii_readreg (struct wb_softc *, struct wb_mii_frame *); -static int wb_mii_writereg (struct wb_softc *, struct wb_mii_frame *); - -static void wb_setcfg (struct wb_softc *, u_int32_t); -static void wb_setmulti (struct wb_softc *); -static void wb_reset (struct wb_softc *); -static void wb_fixmedia (struct wb_softc *); -static int wb_list_rx_init (struct wb_softc *); -static int wb_list_tx_init (struct wb_softc *); - -static int wb_miibus_readreg (device_t, int, int); -static int wb_miibus_writereg (device_t, int, int, int); -static void wb_miibus_statchg (device_t); +static int wb_probe(device_t); +static int wb_attach(device_t); +static int wb_detach(device_t); + +static void wb_bfree(void *addr, void *args); +static int wb_newbuf(struct wb_softc *, struct wb_chain_onefrag *, + struct mbuf *); +static int wb_encap(struct wb_softc *, struct wb_chain *, struct mbuf *); + +static void wb_rxeof(struct wb_softc *); +static void wb_rxeoc(struct wb_softc *); +static void wb_txeof(struct wb_softc *); +static void wb_txeoc(struct wb_softc *); +static void wb_intr(void *); +static void wb_tick(void *); +static void wb_start(struct ifnet *); +static int wb_ioctl(struct ifnet *, u_long, caddr_t); +static void wb_init(void *); +static void wb_stop(struct wb_softc *); +static void wb_watchdog(struct ifnet *); +static void wb_shutdown(device_t); +static int wb_ifmedia_upd(struct ifnet *); +static void wb_ifmedia_sts(struct ifnet *, struct ifmediareq *); + +static void wb_eeprom_putbyte(struct wb_softc *, int); +static void wb_eeprom_getword(struct wb_softc *, int, u_int16_t *); +static void wb_read_eeprom(struct wb_softc *, caddr_t, int, int, int); +static void wb_mii_sync(struct wb_softc *); +static void wb_mii_send(struct wb_softc *, u_int32_t, int); +static int wb_mii_readreg(struct wb_softc *, struct wb_mii_frame *); +static int wb_mii_writereg(struct wb_softc *, struct wb_mii_frame *); + +static void wb_setcfg(struct wb_softc *, u_int32_t); +static void wb_setmulti(struct wb_softc *); +static void wb_reset(struct wb_softc *); +static void wb_fixmedia(struct wb_softc *); +static int wb_list_rx_init(struct wb_softc *); +static int wb_list_tx_init(struct wb_softc *); + +static int wb_miibus_readreg(device_t, int, int); +static int wb_miibus_writereg(device_t, int, int, int); +static void wb_miibus_statchg(device_t); #ifdef WB_USEIOSPACE #define WB_RES SYS_RES_IOPORT |