summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_ste.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_ste.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_ste.c')
-rw-r--r--sys/pci/if_ste.c74
1 files changed, 36 insertions, 38 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index 660627f..ac5a2b5 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -87,44 +87,42 @@ static struct ste_type ste_devs[] = {
{ 0, 0, NULL }
};
-static int ste_probe (device_t);
-static int ste_attach (device_t);
-static int ste_detach (device_t);
-static void ste_init (void *);
-static void ste_intr (void *);
-static void ste_rxeoc (struct ste_softc *);
-static void ste_rxeof (struct ste_softc *);
-static void ste_txeoc (struct ste_softc *);
-static void ste_txeof (struct ste_softc *);
-static void ste_stats_update (void *);
-static void ste_stop (struct ste_softc *);
-static void ste_reset (struct ste_softc *);
-static int ste_ioctl (struct ifnet *, u_long, caddr_t);
-static int ste_encap (struct ste_softc *, struct ste_chain *,
- struct mbuf *);
-static void ste_start (struct ifnet *);
-static void ste_watchdog (struct ifnet *);
-static void ste_shutdown (device_t);
-static int ste_newbuf (struct ste_softc *,
- struct ste_chain_onefrag *,
- struct mbuf *);
-static int ste_ifmedia_upd (struct ifnet *);
-static void ste_ifmedia_sts (struct ifnet *, struct ifmediareq *);
-
-static void ste_mii_sync (struct ste_softc *);
-static void ste_mii_send (struct ste_softc *, u_int32_t, int);
-static int ste_mii_readreg (struct ste_softc *, struct ste_mii_frame *);
-static int ste_mii_writereg (struct ste_softc *, struct ste_mii_frame *);
-static int ste_miibus_readreg (device_t, int, int);
-static int ste_miibus_writereg (device_t, int, int, int);
-static void ste_miibus_statchg (device_t);
-
-static int ste_eeprom_wait (struct ste_softc *);
-static int ste_read_eeprom (struct ste_softc *, caddr_t, int, int, int);
-static void ste_wait (struct ste_softc *);
-static void ste_setmulti (struct ste_softc *);
-static int ste_init_rx_list (struct ste_softc *);
-static void ste_init_tx_list (struct ste_softc *);
+static int ste_probe(device_t);
+static int ste_attach(device_t);
+static int ste_detach(device_t);
+static void ste_init(void *);
+static void ste_intr(void *);
+static void ste_rxeoc(struct ste_softc *);
+static void ste_rxeof(struct ste_softc *);
+static void ste_txeoc(struct ste_softc *);
+static void ste_txeof(struct ste_softc *);
+static void ste_stats_update(void *);
+static void ste_stop(struct ste_softc *);
+static void ste_reset(struct ste_softc *);
+static int ste_ioctl(struct ifnet *, u_long, caddr_t);
+static int ste_encap(struct ste_softc *, struct ste_chain *, struct mbuf *);
+static void ste_start(struct ifnet *);
+static void ste_watchdog(struct ifnet *);
+static void ste_shutdown(device_t);
+static int ste_newbuf(struct ste_softc *, struct ste_chain_onefrag *,
+ struct mbuf *);
+static int ste_ifmedia_upd(struct ifnet *);
+static void ste_ifmedia_sts(struct ifnet *, struct ifmediareq *);
+
+static void ste_mii_sync(struct ste_softc *);
+static void ste_mii_send(struct ste_softc *, u_int32_t, int);
+static int ste_mii_readreg(struct ste_softc *, struct ste_mii_frame *);
+static int ste_mii_writereg(struct ste_softc *, struct ste_mii_frame *);
+static int ste_miibus_readreg(device_t, int, int);
+static int ste_miibus_writereg(device_t, int, int, int);
+static void ste_miibus_statchg(device_t);
+
+static int ste_eeprom_wait(struct ste_softc *);
+static int ste_read_eeprom(struct ste_softc *, caddr_t, int, int, int);
+static void ste_wait(struct ste_softc *);
+static void ste_setmulti(struct ste_softc *);
+static int ste_init_rx_list(struct ste_softc *);
+static void ste_init_tx_list(struct ste_softc *);
#ifdef STE_USEIOSPACE
#define STE_RES SYS_RES_IOPORT
OpenPOWER on IntegriCloud