svn commit: r200810 - head/sys/dev/ste
Pyun YongHyeon
yongari at FreeBSD.org
Mon Dec 21 20:42:24 UTC 2009
Author: yongari
Date: Mon Dec 21 20:42:23 2009
New Revision: 200810
URL: http://svn.freebsd.org/changeset/base/200810
Log:
Sort function prototyes.
Modified:
head/sys/dev/ste/if_ste.c
Modified: head/sys/dev/ste/if_ste.c
==============================================================================
--- head/sys/dev/ste/if_ste.c Mon Dec 21 20:32:04 2009 (r200809)
+++ head/sys/dev/ste/if_ste.c Mon Dec 21 20:42:23 2009 (r200810)
@@ -91,45 +91,44 @@ 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_init_locked(struct ste_softc *);
-static void ste_intr(void *);
-static void ste_rxeoc(struct ste_softc *);
-static int 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_start_locked(struct ifnet *);
-static void ste_watchdog(struct ste_softc *);
-static int 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_upd_locked(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 *, uint32_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_attach(device_t);
+static int ste_detach(device_t);
+static int ste_probe(device_t);
+static int ste_shutdown(device_t);
+
+static int ste_eeprom_wait(struct ste_softc *);
+static int ste_encap(struct ste_softc *, struct ste_chain *, struct mbuf *);
+static int ste_ifmedia_upd(struct ifnet *);
+static void ste_ifmedia_upd_locked(struct ifnet *);
+static void ste_ifmedia_sts(struct ifnet *, struct ifmediareq *);
+static void ste_init(void *);
+static void ste_init_locked(struct ste_softc *);
+static int ste_init_rx_list(struct ste_softc *);
+static void ste_init_tx_list(struct ste_softc *);
+static void ste_intr(void *);
+static int ste_ioctl(struct ifnet *, u_long, caddr_t);
+static int ste_mii_readreg(struct ste_softc *, struct ste_mii_frame *);
+static void ste_mii_send(struct ste_softc *, uint32_t, int);
+static void ste_mii_sync(struct ste_softc *);
+static int ste_mii_writereg(struct ste_softc *, struct ste_mii_frame *);
+static int ste_miibus_readreg(device_t, int, int);
+static void ste_miibus_statchg(device_t);
+static int ste_miibus_writereg(device_t, int, int, int);
+static int ste_newbuf(struct ste_softc *, struct ste_chain_onefrag *,
+ struct mbuf *);
+static int ste_read_eeprom(struct ste_softc *, caddr_t, int, int, int);
+static void ste_reset(struct ste_softc *);
+static void ste_rxeoc(struct ste_softc *);
+static int ste_rxeof(struct ste_softc *);
+static void ste_setmulti(struct ste_softc *);
+static void ste_start(struct ifnet *);
+static void ste_start_locked(struct ifnet *);
+static void ste_stats_update(void *);
+static void ste_stop(struct ste_softc *);
+static void ste_txeoc(struct ste_softc *);
+static void ste_txeof(struct ste_softc *);
+static void ste_wait(struct ste_softc *);
+static void ste_watchdog(struct ste_softc *);
#ifdef STE_USEIOSPACE
#define STE_RES SYS_RES_IOPORT
More information about the svn-src-head
mailing list