aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-10-16 09:04:52 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-10-16 09:04:52 +0000
commit2c876e15c8f3df59d31ca4bc49a7998df5467085 (patch)
tree00233a07b889d316593cd1c40daf87f7c7147ad9 /sys/dev
parent2f591ab8fe8e5ff651f2d1edf9e1cdd61318abbf (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/amd/amd.c4
-rw-r--r--sys/dev/dc/if_dc.c14
-rw-r--r--sys/dev/ti/if_ti.c4
3 files changed, 12 insertions, 10 deletions
diff --git a/sys/dev/amd/amd.c b/sys/dev/amd/amd.c
index 50893714d522..049acc628a6c 100644
--- a/sys/dev/amd/amd.c
+++ b/sys/dev/amd/amd.c
@@ -2108,7 +2108,7 @@ amd_linkSRB(struct amd_softc *amd)
}
}
-void
+static void
amd_EnDisableCE(struct amd_softc *amd, int mode, int *regval)
{
if (mode == ENABLE_CE) {
@@ -2123,7 +2123,7 @@ amd_EnDisableCE(struct amd_softc *amd, int mode, int *regval)
DELAY(160);
}
-void
+static void
amd_EEpromOutDI(struct amd_softc *amd, int *regval, int Carry)
{
u_int bval;
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 1f2923b29d9a..0617e473100c 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -332,7 +332,8 @@ dc_delay(sc)
CSR_READ_4(sc, DC_BUSCTL);
}
-void dc_eeprom_width(sc)
+static void
+dc_eeprom_width(sc)
struct dc_softc *sc;
{
int i;
@@ -1126,7 +1127,7 @@ dc_crc_be(addr)
* frames. We also sneak the broadcast address into the hash filter since
* we need that too.
*/
-void
+static void
dc_setfilt_21143(sc)
struct dc_softc *sc;
{
@@ -1196,7 +1197,7 @@ dc_setfilt_21143(sc)
return;
}
-void
+static void
dc_setfilt_admtek(sc)
struct dc_softc *sc;
{
@@ -1250,7 +1251,7 @@ dc_setfilt_admtek(sc)
return;
}
-void
+static void
dc_setfilt_asix(sc)
struct dc_softc *sc;
{
@@ -1321,7 +1322,7 @@ dc_setfilt_asix(sc)
return;
}
-void
+static void
dc_setfilt_xircom(sc)
struct dc_softc *sc;
{
@@ -1836,7 +1837,8 @@ dc_decode_leaf_mii(sc, l)
return;
}
-void dc_read_srom(sc, bits)
+static void
+dc_read_srom(sc, bits)
struct dc_softc *sc;
int bits;
{
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index 0cd484315984..b91f5cb2daaf 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -1554,7 +1554,7 @@ ti_init_tx_ring(sc)
* but we have to support the old way too so that Tigon 1 cards will
* work.
*/
-void
+static void
ti_add_mcast(sc, addr)
struct ti_softc *sc;
struct ether_addr *addr;
@@ -1584,7 +1584,7 @@ ti_add_mcast(sc, addr)
return;
}
-void
+static void
ti_del_mcast(sc, addr)
struct ti_softc *sc;
struct ether_addr *addr;