aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lmc/lmc_media.c
diff options
context:
space:
mode:
authorKrzysztof Hałasa <khc@pm.waw.pl>2008-07-02 18:39:46 -0400
committerKrzysztof Hałasa <khc@pm.waw.pl>2008-07-23 17:05:56 -0400
commit867240f7b2a37b1be4ba37d904a9064a96c82099 (patch)
treeb8d659842fa9062aeebcaaa47920c68619beae01 /drivers/net/wan/lmc/lmc_media.c
parentd507911c3a451986b3501417c78b568f3850b8ef (diff)
WAN: Use u32 type instead of u_int32_t in LMC driver.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'drivers/net/wan/lmc/lmc_media.c')
-rw-r--r--drivers/net/wan/lmc/lmc_media.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/wan/lmc/lmc_media.c b/drivers/net/wan/lmc/lmc_media.c
index 2e0711a956cc..f327674fc93a 100644
--- a/drivers/net/wan/lmc/lmc_media.c
+++ b/drivers/net/wan/lmc/lmc_media.c
@@ -93,8 +93,7 @@ static void lmc_dummy_set_1 (lmc_softc_t * const, int);
93static void lmc_dummy_set2_1 (lmc_softc_t * const, lmc_ctl_t *); 93static void lmc_dummy_set2_1 (lmc_softc_t * const, lmc_ctl_t *);
94 94
95static inline void write_av9110_bit (lmc_softc_t *, int); 95static inline void write_av9110_bit (lmc_softc_t *, int);
96static void write_av9110 (lmc_softc_t *, u_int32_t, u_int32_t, u_int32_t, 96static void write_av9110(lmc_softc_t *, u32, u32, u32, u32, u32);
97 u_int32_t, u_int32_t);
98 97
99lmc_media_t lmc_ds3_media = { 98lmc_media_t lmc_ds3_media = {
100 lmc_ds3_init, /* special media init stuff */ 99 lmc_ds3_init, /* special media init stuff */
@@ -679,7 +678,7 @@ static int
679lmc_ssi_get_link_status (lmc_softc_t * const sc) 678lmc_ssi_get_link_status (lmc_softc_t * const sc)
680{ 679{
681 u16 link_status; 680 u16 link_status;
682 u_int32_t ticks; 681 u32 ticks;
683 int ret = 1; 682 int ret = 1;
684 int hw_hdsk = 1; 683 int hw_hdsk = 1;
685 684
@@ -835,9 +834,7 @@ write_av9110_bit (lmc_softc_t * sc, int c)
835 LMC_CSR_WRITE (sc, csr_gp, sc->lmc_gpio); 834 LMC_CSR_WRITE (sc, csr_gp, sc->lmc_gpio);
836} 835}
837 836
838static void 837static void write_av9110(lmc_softc_t *sc, u32 n, u32 m, u32 v, u32 x, u32 r)
839write_av9110 (lmc_softc_t * sc, u_int32_t n, u_int32_t m, u_int32_t v,
840 u_int32_t x, u_int32_t r)
841{ 838{
842 int i; 839 int i;
843 840