diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1999-09-30 00:12:23 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1999-09-30 00:12:23 +0000 |
commit | 776c33488ce3d10a217e028abe8b5abdf9af2343 (patch) | |
tree | 431316e3a2e5b3786f7254dac60b0e587669f7dd /sys | |
parent | 86fa8d5b032115b4f83e6bcaa9e271236a51436d (diff) |
remove static's
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_rl.c | 120 | ||||
-rw-r--r-- | sys/dev/pci/if_tx.c | 150 |
2 files changed, 135 insertions, 135 deletions
diff --git a/sys/dev/pci/if_rl.c b/sys/dev/pci/if_rl.c index 8645aebb62d..bf561273d65 100644 --- a/sys/dev/pci/if_rl.c +++ b/sys/dev/pci/if_rl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rl.c,v 1.16 1999/07/23 14:51:53 ho Exp $ */ +/* $OpenBSD: if_rl.c,v 1.17 1999/09/30 00:12:22 jason Exp $ */ /* * Copyright (c) 1997, 1998 @@ -143,43 +143,43 @@ * so failure to positively identify the chip is not a fatal error. */ -static int rl_probe __P((struct device *, void *, void *)); -static void rl_attach __P((struct device *, struct device *, void *)); -static int rl_intr __P((void *)); -static void rl_shutdown __P((void *)); +int rl_probe __P((struct device *, void *, void *)); +void rl_attach __P((struct device *, struct device *, void *)); +int rl_intr __P((void *)); +void rl_shutdown __P((void *)); /* * MII glue */ -static int rl_mii_read __P((struct device *, int, int)); -static void rl_mii_write __P((struct device *, int, int, int)); -static void rl_mii_statchg __P((struct device *)); - -static int rl_encap __P((struct rl_softc *, struct mbuf * )); - -static void rl_rxeof __P((struct rl_softc *)); -static void rl_txeof __P((struct rl_softc *)); -static void rl_start __P((struct ifnet *)); -static int rl_ioctl __P((struct ifnet *, u_long, caddr_t)); -static void rl_init __P((void *)); -static void rl_stop __P((struct rl_softc *)); -static void rl_watchdog __P((struct ifnet *)); -static int rl_ifmedia_upd __P((struct ifnet *)); -static void rl_ifmedia_sts __P((struct ifnet *, struct ifmediareq *)); - -static void rl_eeprom_putbyte __P((struct rl_softc *, int)); -static void rl_eeprom_getword __P((struct rl_softc *, int, u_int16_t *)); -static void rl_read_eeprom __P((struct rl_softc *, caddr_t, +int rl_mii_read __P((struct device *, int, int)); +void rl_mii_write __P((struct device *, int, int, int)); +void rl_mii_statchg __P((struct device *)); + +int rl_encap __P((struct rl_softc *, struct mbuf * )); + +void rl_rxeof __P((struct rl_softc *)); +void rl_txeof __P((struct rl_softc *)); +void rl_start __P((struct ifnet *)); +int rl_ioctl __P((struct ifnet *, u_long, caddr_t)); +void rl_init __P((void *)); +void rl_stop __P((struct rl_softc *)); +void rl_watchdog __P((struct ifnet *)); +int rl_ifmedia_upd __P((struct ifnet *)); +void rl_ifmedia_sts __P((struct ifnet *, struct ifmediareq *)); + +void rl_eeprom_putbyte __P((struct rl_softc *, int)); +void rl_eeprom_getword __P((struct rl_softc *, int, u_int16_t *)); +void rl_read_eeprom __P((struct rl_softc *, caddr_t, int, int, int)); -static void rl_mii_sync __P((struct rl_softc *)); -static void rl_mii_send __P((struct rl_softc *, u_int32_t, int)); -static int rl_mii_readreg __P((struct rl_softc *, struct rl_mii_frame *)); -static int rl_mii_writereg __P((struct rl_softc *, struct rl_mii_frame *)); +void rl_mii_sync __P((struct rl_softc *)); +void rl_mii_send __P((struct rl_softc *, u_int32_t, int)); +int rl_mii_readreg __P((struct rl_softc *, struct rl_mii_frame *)); +int rl_mii_writereg __P((struct rl_softc *, struct rl_mii_frame *)); -static u_int8_t rl_calchash __P((caddr_t)); -static void rl_setmulti __P((struct rl_softc *)); -static void rl_reset __P((struct rl_softc *)); -static int rl_list_tx_init __P((struct rl_softc *)); +u_int8_t rl_calchash __P((caddr_t)); +void rl_setmulti __P((struct rl_softc *)); +void rl_reset __P((struct rl_softc *)); +int rl_list_tx_init __P((struct rl_softc *)); #define EE_SET(x) \ CSR_WRITE_1(sc, RL_EECMD, \ @@ -192,7 +192,7 @@ static int rl_list_tx_init __P((struct rl_softc *)); /* * Send a read command and address to the EEPROM, check for ACK. */ -static void rl_eeprom_putbyte(sc, addr) +void rl_eeprom_putbyte(sc, addr) struct rl_softc *sc; int addr; { @@ -222,7 +222,7 @@ static void rl_eeprom_putbyte(sc, addr) /* * Read a word of data stored in the EEPROM at address 'addr.' */ -static void rl_eeprom_getword(sc, addr, dest) +void rl_eeprom_getword(sc, addr, dest) struct rl_softc *sc; int addr; u_int16_t *dest; @@ -263,7 +263,7 @@ static void rl_eeprom_getword(sc, addr, dest) /* * Read a sequence of words from the EEPROM. */ -static void rl_read_eeprom(sc, dest, off, cnt, swap) +void rl_read_eeprom(sc, dest, off, cnt, swap) struct rl_softc *sc; caddr_t dest; int off; @@ -303,7 +303,7 @@ static void rl_read_eeprom(sc, dest, off, cnt, swap) /* * Sync the PHYs by setting data bit and strobing the clock 32 times. */ -static void rl_mii_sync(sc) +void rl_mii_sync(sc) struct rl_softc *sc; { register int i; @@ -323,7 +323,7 @@ static void rl_mii_sync(sc) /* * Clock a series of bits through the MII. */ -static void rl_mii_send(sc, bits, cnt) +void rl_mii_send(sc, bits, cnt) struct rl_softc *sc; u_int32_t bits; int cnt; @@ -348,7 +348,7 @@ static void rl_mii_send(sc, bits, cnt) /* * Read an PHY register through the MII. */ -static int rl_mii_readreg(sc, frame) +int rl_mii_readreg(sc, frame) struct rl_softc *sc; struct rl_mii_frame *frame; @@ -441,7 +441,7 @@ fail: /* * Write to a PHY register through the MII. */ -static int rl_mii_writereg(sc, frame) +int rl_mii_writereg(sc, frame) struct rl_softc *sc; struct rl_mii_frame *frame; @@ -490,7 +490,7 @@ static int rl_mii_writereg(sc, frame) /* * Calculate CRC of a multicast group address, return the upper 6 bits. */ -static u_int8_t rl_calchash(addr) +u_int8_t rl_calchash(addr) caddr_t addr; { u_int32_t crc, carry; @@ -518,7 +518,7 @@ static u_int8_t rl_calchash(addr) /* * Program the 64-bit multicast hash filter. */ -static void rl_setmulti(sc) +void rl_setmulti(sc) struct rl_softc *sc; { struct ifnet *ifp; @@ -571,7 +571,7 @@ static void rl_setmulti(sc) return; } -static void rl_reset(sc) +void rl_reset(sc) struct rl_softc *sc; { register int i; @@ -592,7 +592,7 @@ static void rl_reset(sc) /* * Initialize the transmit descriptors. */ -static int rl_list_tx_init(sc) +int rl_list_tx_init(sc) struct rl_softc *sc; { struct rl_chain_data *cd; @@ -638,7 +638,7 @@ static int rl_list_tx_init(sc) * bytes of space preceecing it so that it will be safe for us to do the * 2-byte backstep even if reading from the ring at offset 0. */ -static void rl_rxeof(sc) +void rl_rxeof(sc) struct rl_softc *sc; { struct ether_header *eh; @@ -776,7 +776,7 @@ static void rl_rxeof(sc) * A frame was downloaded to the chip. It's safe for us to clean up * the list buffers. */ -static void rl_txeof(sc) +void rl_txeof(sc) struct rl_softc *sc; { struct ifnet *ifp; @@ -818,7 +818,7 @@ static void rl_txeof(sc) return; } -static int rl_intr(arg) +int rl_intr(arg) void *arg; { struct rl_softc *sc; @@ -871,7 +871,7 @@ static int rl_intr(arg) * Encapsulate an mbuf chain in a descriptor by coupling the mbuf data * pointers to the fragment pointers. */ -static int rl_encap(sc, m_head) +int rl_encap(sc, m_head) struct rl_softc *sc; struct mbuf *m_head; { @@ -916,7 +916,7 @@ static int rl_encap(sc, m_head) * Main transmit routine. */ -static void rl_start(ifp) +void rl_start(ifp) struct ifnet *ifp; { struct rl_softc *sc; @@ -967,7 +967,7 @@ static void rl_start(ifp) return; } -static void rl_init(xsc) +void rl_init(xsc) void *xsc; { struct rl_softc *sc = xsc; @@ -1062,7 +1062,7 @@ static void rl_init(xsc) /* * Set media options. */ -static int rl_ifmedia_upd(ifp) +int rl_ifmedia_upd(ifp) struct ifnet *ifp; { if (ifp->if_flags & IFF_UP) @@ -1073,7 +1073,7 @@ static int rl_ifmedia_upd(ifp) /* * Report current media status. */ -static void rl_ifmedia_sts(ifp, ifmr) +void rl_ifmedia_sts(ifp, ifmr) struct ifnet *ifp; struct ifmediareq *ifmr; { @@ -1084,7 +1084,7 @@ static void rl_ifmedia_sts(ifp, ifmr) ifmr->ifm_active = sc->sc_mii.mii_media_active; } -static int rl_ioctl(ifp, command, data) +int rl_ioctl(ifp, command, data) struct ifnet *ifp; u_long command; caddr_t data; @@ -1144,7 +1144,7 @@ static int rl_ioctl(ifp, command, data) return(error); } -static void rl_watchdog(ifp) +void rl_watchdog(ifp) struct ifnet *ifp; { struct rl_softc *sc; @@ -1164,7 +1164,7 @@ static void rl_watchdog(ifp) * Stop the adapter and free any mbufs allocated to the * RX and TX lists. */ -static void rl_stop(sc) +void rl_stop(sc) struct rl_softc *sc; { register int i; @@ -1192,7 +1192,7 @@ static void rl_stop(sc) return; } -static int +int rl_probe(parent, match, aux) struct device *parent; void *match; @@ -1227,7 +1227,7 @@ rl_probe(parent, match, aux) return 0; } -static void +void rl_attach(parent, self, aux) struct device *parent, *self; void *aux; @@ -1375,7 +1375,7 @@ rl_attach(parent, self, aux) shutdownhook_establish(rl_shutdown, sc); } -static void rl_shutdown(arg) +void rl_shutdown(arg) void *arg; { struct rl_softc *sc = (struct rl_softc *)arg; @@ -1383,7 +1383,7 @@ static void rl_shutdown(arg) rl_stop(sc); } -static int +int rl_mii_read(self, phy, reg) struct device *self; int phy, reg; @@ -1424,7 +1424,7 @@ rl_mii_read(self, phy, reg) return(frame.mii_data); } -static void +void rl_mii_write(self, phy, reg, val) struct device *self; int phy, reg, val; @@ -1463,7 +1463,7 @@ rl_mii_write(self, phy, reg, val) rl_mii_writereg(sc, &frame); } -static void +void rl_mii_statchg(self) struct device *self; { diff --git a/sys/dev/pci/if_tx.c b/sys/dev/pci/if_tx.c index fb0384d3e14..0b126007e8e 100644 --- a/sys/dev/pci/if_tx.c +++ b/sys/dev/pci/if_tx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tx.c,v 1.7 1999/06/29 17:13:40 jason Exp $ */ +/* $OpenBSD: if_tx.c,v 1.8 1999/09/30 00:12:21 jason Exp $ */ /* $FreeBSD: if_tx.c,v 1.27 1999/05/10 00:20:46 peter Exp $ */ /*- @@ -150,41 +150,41 @@ #define EPIC_INTR_RET_TYPE int #endif -static int epic_ifioctl __P((register struct ifnet *, EPIC_IFIOCTL_CMD_TYPE, caddr_t)); -static EPIC_INTR_RET_TYPE epic_intr __P((void *)); -static int epic_common_attach __P((epic_softc_t *)); -static void epic_ifstart __P((struct ifnet *)); -static void epic_ifwatchdog __P((struct ifnet *)); -static int epic_init __P((epic_softc_t *)); -static void epic_stop __P((epic_softc_t *)); -static __inline void epic_rx_done __P((epic_softc_t *)); -static __inline void epic_tx_done __P((epic_softc_t *)); -static int epic_init_rings __P((epic_softc_t *)); -static void epic_free_rings __P((epic_softc_t *)); -static void epic_stop_activity __P((epic_softc_t *)); -static void epic_start_activity __P((epic_softc_t *)); -static void epic_set_rx_mode __P((epic_softc_t *)); -static void epic_set_tx_mode __P((epic_softc_t *)); -static void epic_set_mc_table __P((epic_softc_t *)); -static void epic_set_media_speed __P((epic_softc_t *)); -static void epic_init_phy __P((epic_softc_t *)); -static void epic_dump_state __P((epic_softc_t *)); -static int epic_autoneg __P((epic_softc_t *)); -static int epic_read_eeprom __P((epic_softc_t *,u_int16_t)); -static void epic_output_eepromw __P((epic_softc_t *, u_int16_t)); -static u_int16_t epic_input_eepromw __P((epic_softc_t *)); -static u_int8_t epic_eeprom_clock __P((epic_softc_t *,u_int8_t)); -static void epic_write_eepromreg __P((epic_softc_t *,u_int8_t)); -static u_int8_t epic_read_eepromreg __P((epic_softc_t *)); -static u_int16_t epic_read_phy_register __P((epic_softc_t *, u_int16_t)); -static void epic_write_phy_register __P((epic_softc_t *, u_int16_t, u_int16_t)); +int epic_ifioctl __P((register struct ifnet *, EPIC_IFIOCTL_CMD_TYPE, caddr_t)); +EPIC_INTR_RET_TYPE epic_intr __P((void *)); +int epic_common_attach __P((epic_softc_t *)); +void epic_ifstart __P((struct ifnet *)); +void epic_ifwatchdog __P((struct ifnet *)); +int epic_init __P((epic_softc_t *)); +void epic_stop __P((epic_softc_t *)); +void epic_rx_done __P((epic_softc_t *)); +void epic_tx_done __P((epic_softc_t *)); +int epic_init_rings __P((epic_softc_t *)); +void epic_free_rings __P((epic_softc_t *)); +void epic_stop_activity __P((epic_softc_t *)); +void epic_start_activity __P((epic_softc_t *)); +void epic_set_rx_mode __P((epic_softc_t *)); +void epic_set_tx_mode __P((epic_softc_t *)); +void epic_set_mc_table __P((epic_softc_t *)); +void epic_set_media_speed __P((epic_softc_t *)); +void epic_init_phy __P((epic_softc_t *)); +void epic_dump_state __P((epic_softc_t *)); +int epic_autoneg __P((epic_softc_t *)); +int epic_read_eeprom __P((epic_softc_t *,u_int16_t)); +void epic_output_eepromw __P((epic_softc_t *, u_int16_t)); +u_int16_t epic_input_eepromw __P((epic_softc_t *)); +u_int8_t epic_eeprom_clock __P((epic_softc_t *,u_int8_t)); +void epic_write_eepromreg __P((epic_softc_t *,u_int8_t)); +u_int8_t epic_read_eepromreg __P((epic_softc_t *)); +u_int16_t epic_read_phy_register __P((epic_softc_t *, u_int16_t)); +void epic_write_phy_register __P((epic_softc_t *, u_int16_t, u_int16_t)); #if 0 void epic_dump_phy_regs __P((epic_softc_t *)); #endif #if !defined(EPIC_NOIFMEDIA) -static int epic_ifmedia_change __P((struct ifnet *)); -static void epic_ifmedia_status __P((struct ifnet *, struct ifmediareq *)); +int epic_ifmedia_change __P((struct ifnet *)); +void epic_ifmedia_status __P((struct ifnet *, struct ifmediareq *)); #endif int epic_mtypes [] = { @@ -210,9 +210,9 @@ int epic_mtypes [] = { #if defined(__OpenBSD__) /* -----------------------------OpenBSD------------------------------------- */ -static int epic_openbsd_probe __P((struct device *,void *,void *)); -static void epic_openbsd_attach __P((struct device *, struct device *, void *)); -static void epic_shutdown __P((void *)); +int epic_openbsd_probe __P((struct device *,void *,void *)); +void epic_openbsd_attach __P((struct device *, struct device *, void *)); +void epic_shutdown __P((void *)); struct cfattach tx_ca = { sizeof(epic_softc_t), epic_openbsd_probe, epic_openbsd_attach @@ -222,7 +222,7 @@ struct cfdriver tx_cd = { }; /* Synopsis: Check if device id corresponds with SMC83C170 id. */ -static int +int epic_openbsd_probe( struct device *parent, void *match, @@ -238,7 +238,7 @@ epic_openbsd_probe( return 0; } -static void +void epic_openbsd_attach( struct device *parent, struct device *self, @@ -366,7 +366,7 @@ epic_openbsd_attach( } /* Simple call epic_stop() */ -static void +void epic_shutdown( void *sc) { @@ -376,13 +376,13 @@ epic_shutdown( #else /* __FreeBSD__ */ /* -----------------------------FreeBSD------------------------------------- */ -static const char* epic_freebsd_probe __P((pcici_t, pcidi_t)); -static void epic_freebsd_attach __P((pcici_t, int)); -static void epic_shutdown __P((int, void *)); +const char* epic_freebsd_probe __P((pcici_t, pcidi_t)); +void epic_freebsd_attach __P((pcici_t, int)); +void epic_shutdown __P((int, void *)); /* Global variables */ -static u_long epic_pci_count; -static struct pci_device txdevice = { +u_long epic_pci_count; +struct pci_device txdevice = { "tx", epic_freebsd_probe, epic_freebsd_attach, @@ -394,7 +394,7 @@ static struct pci_device txdevice = { COMPAT_PCI_DRIVER (tx, txdevice); /* Synopsis: Check if device id corresponds with SMC83C170 id. */ -static const char* +const char* epic_freebsd_probe( pcici_t config_id, pcidi_t device_id) @@ -412,7 +412,7 @@ epic_freebsd_probe( * Do FreeBSD-specific attach routine, like map registers, alloc softc * structure and etc. */ -static void +void epic_freebsd_attach( pcici_t config_id, int unit) @@ -563,7 +563,7 @@ epic_freebsd_attach( return; } -static void +void epic_shutdown( int howto, void *sc) @@ -580,7 +580,7 @@ epic_shutdown( /* * This is if_ioctl handler. */ -static int +int epic_ifioctl __P(( register struct ifnet * ifp, EPIC_IFIOCTL_CMD_TYPE command, @@ -703,7 +703,7 @@ epic_ifioctl __P(( * and frag lists, wake up chip, read MAC address and PHY identyfier. * Return -1 on failure. */ -static int +int epic_common_attach( epic_softc_t *sc) { @@ -759,7 +759,7 @@ epic_common_attach( * and quque them for transmit, one by one, until TX ring become full * or quque become empty. */ -static void +void epic_ifstart(struct ifnet * const ifp){ epic_softc_t *sc = ifp->if_softc; struct epic_tx_buffer *buf; @@ -868,7 +868,7 @@ epic_ifstart(struct ifnet * const ifp){ * * splimp() invoked before epic_intr_normal() */ -static __inline void +void epic_rx_done __P(( epic_softc_t *sc )) { @@ -948,7 +948,7 @@ epic_rx_done __P(( * packet, switch to next descriptor and repeat until no packets * are pending or descriptor is not transmitted yet. */ -static __inline void +void epic_tx_done __P(( register epic_softc_t *sc )) { @@ -991,7 +991,7 @@ epic_tx_done __P(( * * splimp() assumed to be done */ -static EPIC_INTR_RET_TYPE +EPIC_INTR_RET_TYPE epic_intr ( void *arg) { @@ -1133,7 +1133,7 @@ epic_intr ( * * splimp() invoked here */ -static void +void epic_ifwatchdog __P(( struct ifnet *ifp)) { @@ -1170,7 +1170,7 @@ epic_ifwatchdog __P(( } #if defined(SIOCSIFMEDIA) && !defined(EPIC_NOIFMEDIA) -static int +int epic_ifmedia_change __P(( struct ifnet * ifp)) { @@ -1189,7 +1189,7 @@ epic_ifmedia_change __P(( return 0; } -static void +void epic_ifmedia_status __P(( struct ifnet * ifp, struct ifmediareq *ifmr)) @@ -1231,7 +1231,7 @@ epic_ifmedia_status __P(( * * splimp() invoked here */ -static int +int epic_init __P(( epic_softc_t * sc)) { @@ -1314,7 +1314,7 @@ epic_init __P(( * Synopsis: calculate and set Rx mode. Chip must be in idle state to * access RXCON. */ -static void +void epic_set_rx_mode( epic_softc_t * sc) { @@ -1348,7 +1348,7 @@ epic_dump_phy_regs(epic_softc_t *sc) /* * Synopsis: Reset PHY and do PHY-special initialization: */ -static void +void epic_init_phy __P(( epic_softc_t * sc)) { @@ -1395,7 +1395,7 @@ epic_init_phy __P(( * Synopsis: Set PHY to media type specified by IFF_LINK* flags or * ifmedia structure. Chip must be in idle state to access TXCON. */ -static void +void epic_set_media_speed __P(( epic_softc_t * sc)) { @@ -1490,7 +1490,7 @@ epic_set_media_speed __P(( * DP83840A data sheet * http://www.national.com/ds/DP/DP83840A.pdf */ -static int +int epic_autoneg( epic_softc_t * sc) { @@ -1564,7 +1564,7 @@ epic_autoneg( /* */ -static void +void epic_set_tx_mode ( epic_softc_t *sc ) { @@ -1583,7 +1583,7 @@ epic_set_tx_mode ( * reprogramming MC filter. The epic_stop_activity() and * epic_start_activity() should help to do this. */ -static void +void epic_set_mc_table ( epic_softc_t * sc) { @@ -1603,7 +1603,7 @@ epic_set_mc_table ( /* * Synopsis: Start receive process and transmit one, if they need. */ -static void +void epic_start_activity __P(( epic_softc_t * sc)) { @@ -1618,7 +1618,7 @@ epic_start_activity __P(( * Synopsis: Completely stop Rx and Tx processes. If TQE is set additional * packet needs to be queued to stop Tx DMA. */ -static void +void epic_stop_activity __P(( epic_softc_t * sc)) { @@ -1715,7 +1715,7 @@ epic_stop_activity __P(( * * splimp() invoked here */ -static void +void epic_stop __P(( epic_softc_t * sc)) { @@ -1752,7 +1752,7 @@ epic_stop __P(( /* * Synopsis: This function should free all memory allocated for rings. */ -static void +void epic_free_rings __P(( epic_softc_t * sc)) { @@ -1788,7 +1788,7 @@ epic_free_rings __P(( * Point Tx descs to fragment lists. Check that all descs and fraglists * are bounded and aligned properly. */ -static int +int epic_init_rings(epic_softc_t * sc){ int i; @@ -1838,7 +1838,7 @@ epic_init_rings(epic_softc_t * sc){ /* * EEPROM operation functions */ -static void epic_write_eepromreg __P(( +void epic_write_eepromreg __P(( epic_softc_t *sc, u_int8_t val)) { @@ -1852,14 +1852,14 @@ static void epic_write_eepromreg __P(( return; } -static u_int8_t +u_int8_t epic_read_eepromreg __P(( epic_softc_t *sc)) { return CSR_READ_1( sc,EECTL ); } -static u_int8_t +u_int8_t epic_eeprom_clock __P(( epic_softc_t *sc, u_int8_t val)) @@ -1871,7 +1871,7 @@ epic_eeprom_clock __P(( return epic_read_eepromreg( sc ); } -static void +void epic_output_eepromw __P(( epic_softc_t * sc, u_int16_t val)) @@ -1883,7 +1883,7 @@ epic_output_eepromw __P(( } } -static u_int16_t +u_int16_t epic_input_eepromw __P(( epic_softc_t *sc)) { @@ -1900,7 +1900,7 @@ epic_input_eepromw __P(( return retval; } -static int +int epic_read_eeprom __P(( epic_softc_t *sc, u_int16_t loc)) @@ -1924,7 +1924,7 @@ epic_read_eeprom __P(( return dataval; } -static u_int16_t +u_int16_t epic_read_phy_register __P(( epic_softc_t *sc, u_int16_t loc)) @@ -1941,7 +1941,7 @@ epic_read_phy_register __P(( return CSR_READ_4( sc, MIIDATA ); } -static void +void epic_write_phy_register __P(( epic_softc_t * sc, u_int16_t loc, @@ -1960,7 +1960,7 @@ epic_write_phy_register __P(( return; } -static void +void epic_dump_state __P(( epic_softc_t * sc)) { |