diff options
author | Olof Johansson <olof@lixom.net> | 2008-02-05 01:27:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:08 -0500 |
commit | 906da809c5be30b4c7f32bb6a489fb25ad794878 (patch) | |
tree | 9516df9eb1a64ee94d185d2711bde3d1defaabb5 /drivers/net/wireless | |
parent | ecb8a8472f6d314096f20885722f2033d2071719 (diff) |
pcmcia: replace kio_addr_t with unsigned int everywhere
Remove kio_addr_t, and replace it with unsigned int. No known architecture
needs more than 32 bits for IO addresses and ports and having a separate type
for it is just messy.
Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/netwave_cs.c | 24 | ||||
-rw-r--r-- | drivers/net/wireless/wavelan_cs.c | 56 |
2 files changed, 40 insertions, 40 deletions
diff --git a/drivers/net/wireless/netwave_cs.c b/drivers/net/wireless/netwave_cs.c index d2fa079fbc4c..f479c1af6782 100644 --- a/drivers/net/wireless/netwave_cs.c +++ b/drivers/net/wireless/netwave_cs.c | |||
@@ -195,7 +195,7 @@ static int netwave_pcmcia_config(struct pcmcia_device *arg); /* Runs after card | |||
195 | static void netwave_detach(struct pcmcia_device *p_dev); /* Destroy instance */ | 195 | static void netwave_detach(struct pcmcia_device *p_dev); /* Destroy instance */ |
196 | 196 | ||
197 | /* Hardware configuration */ | 197 | /* Hardware configuration */ |
198 | static void netwave_doreset(kio_addr_t iobase, u_char __iomem *ramBase); | 198 | static void netwave_doreset(unsigned int iobase, u_char __iomem *ramBase); |
199 | static void netwave_reset(struct net_device *dev); | 199 | static void netwave_reset(struct net_device *dev); |
200 | 200 | ||
201 | /* Misc device stuff */ | 201 | /* Misc device stuff */ |
@@ -309,7 +309,7 @@ static inline void wait_WOC(unsigned int iobase) | |||
309 | } | 309 | } |
310 | 310 | ||
311 | static void netwave_snapshot(netwave_private *priv, u_char __iomem *ramBase, | 311 | static void netwave_snapshot(netwave_private *priv, u_char __iomem *ramBase, |
312 | kio_addr_t iobase) { | 312 | unsigned int iobase) { |
313 | u_short resultBuffer; | 313 | u_short resultBuffer; |
314 | 314 | ||
315 | /* if time since last snapshot is > 1 sec. (100 jiffies?) then take | 315 | /* if time since last snapshot is > 1 sec. (100 jiffies?) then take |
@@ -340,7 +340,7 @@ static void netwave_snapshot(netwave_private *priv, u_char __iomem *ramBase, | |||
340 | static struct iw_statistics *netwave_get_wireless_stats(struct net_device *dev) | 340 | static struct iw_statistics *netwave_get_wireless_stats(struct net_device *dev) |
341 | { | 341 | { |
342 | unsigned long flags; | 342 | unsigned long flags; |
343 | kio_addr_t iobase = dev->base_addr; | 343 | unsigned int iobase = dev->base_addr; |
344 | netwave_private *priv = netdev_priv(dev); | 344 | netwave_private *priv = netdev_priv(dev); |
345 | u_char __iomem *ramBase = priv->ramBase; | 345 | u_char __iomem *ramBase = priv->ramBase; |
346 | struct iw_statistics* wstats; | 346 | struct iw_statistics* wstats; |
@@ -471,7 +471,7 @@ static int netwave_set_nwid(struct net_device *dev, | |||
471 | char *extra) | 471 | char *extra) |
472 | { | 472 | { |
473 | unsigned long flags; | 473 | unsigned long flags; |
474 | kio_addr_t iobase = dev->base_addr; | 474 | unsigned int iobase = dev->base_addr; |
475 | netwave_private *priv = netdev_priv(dev); | 475 | netwave_private *priv = netdev_priv(dev); |
476 | u_char __iomem *ramBase = priv->ramBase; | 476 | u_char __iomem *ramBase = priv->ramBase; |
477 | 477 | ||
@@ -518,7 +518,7 @@ static int netwave_set_scramble(struct net_device *dev, | |||
518 | char *key) | 518 | char *key) |
519 | { | 519 | { |
520 | unsigned long flags; | 520 | unsigned long flags; |
521 | kio_addr_t iobase = dev->base_addr; | 521 | unsigned int iobase = dev->base_addr; |
522 | netwave_private *priv = netdev_priv(dev); | 522 | netwave_private *priv = netdev_priv(dev); |
523 | u_char __iomem *ramBase = priv->ramBase; | 523 | u_char __iomem *ramBase = priv->ramBase; |
524 | 524 | ||
@@ -621,7 +621,7 @@ static int netwave_get_snap(struct net_device *dev, | |||
621 | char *extra) | 621 | char *extra) |
622 | { | 622 | { |
623 | unsigned long flags; | 623 | unsigned long flags; |
624 | kio_addr_t iobase = dev->base_addr; | 624 | unsigned int iobase = dev->base_addr; |
625 | netwave_private *priv = netdev_priv(dev); | 625 | netwave_private *priv = netdev_priv(dev); |
626 | u_char __iomem *ramBase = priv->ramBase; | 626 | u_char __iomem *ramBase = priv->ramBase; |
627 | 627 | ||
@@ -874,7 +874,7 @@ static int netwave_resume(struct pcmcia_device *link) | |||
874 | * | 874 | * |
875 | * Proper hardware reset of the card. | 875 | * Proper hardware reset of the card. |
876 | */ | 876 | */ |
877 | static void netwave_doreset(kio_addr_t ioBase, u_char __iomem *ramBase) | 877 | static void netwave_doreset(unsigned int ioBase, u_char __iomem *ramBase) |
878 | { | 878 | { |
879 | /* Reset card */ | 879 | /* Reset card */ |
880 | wait_WOC(ioBase); | 880 | wait_WOC(ioBase); |
@@ -892,7 +892,7 @@ static void netwave_reset(struct net_device *dev) { | |||
892 | /* u_char state; */ | 892 | /* u_char state; */ |
893 | netwave_private *priv = netdev_priv(dev); | 893 | netwave_private *priv = netdev_priv(dev); |
894 | u_char __iomem *ramBase = priv->ramBase; | 894 | u_char __iomem *ramBase = priv->ramBase; |
895 | kio_addr_t iobase = dev->base_addr; | 895 | unsigned int iobase = dev->base_addr; |
896 | 896 | ||
897 | DEBUG(0, "netwave_reset: Done with hardware reset\n"); | 897 | DEBUG(0, "netwave_reset: Done with hardware reset\n"); |
898 | 898 | ||
@@ -973,7 +973,7 @@ static int netwave_hw_xmit(unsigned char* data, int len, | |||
973 | 973 | ||
974 | netwave_private *priv = netdev_priv(dev); | 974 | netwave_private *priv = netdev_priv(dev); |
975 | u_char __iomem * ramBase = priv->ramBase; | 975 | u_char __iomem * ramBase = priv->ramBase; |
976 | kio_addr_t iobase = dev->base_addr; | 976 | unsigned int iobase = dev->base_addr; |
977 | 977 | ||
978 | /* Disable interrupts & save flags */ | 978 | /* Disable interrupts & save flags */ |
979 | spin_lock_irqsave(&priv->spinlock, flags); | 979 | spin_lock_irqsave(&priv->spinlock, flags); |
@@ -1065,7 +1065,7 @@ static int netwave_start_xmit(struct sk_buff *skb, struct net_device *dev) { | |||
1065 | */ | 1065 | */ |
1066 | static irqreturn_t netwave_interrupt(int irq, void* dev_id) | 1066 | static irqreturn_t netwave_interrupt(int irq, void* dev_id) |
1067 | { | 1067 | { |
1068 | kio_addr_t iobase; | 1068 | unsigned int iobase; |
1069 | u_char __iomem *ramBase; | 1069 | u_char __iomem *ramBase; |
1070 | struct net_device *dev = (struct net_device *)dev_id; | 1070 | struct net_device *dev = (struct net_device *)dev_id; |
1071 | struct netwave_private *priv = netdev_priv(dev); | 1071 | struct netwave_private *priv = netdev_priv(dev); |
@@ -1235,7 +1235,7 @@ static int netwave_rx(struct net_device *dev) | |||
1235 | { | 1235 | { |
1236 | netwave_private *priv = netdev_priv(dev); | 1236 | netwave_private *priv = netdev_priv(dev); |
1237 | u_char __iomem *ramBase = priv->ramBase; | 1237 | u_char __iomem *ramBase = priv->ramBase; |
1238 | kio_addr_t iobase = dev->base_addr; | 1238 | unsigned int iobase = dev->base_addr; |
1239 | u_char rxStatus; | 1239 | u_char rxStatus; |
1240 | struct sk_buff *skb = NULL; | 1240 | struct sk_buff *skb = NULL; |
1241 | unsigned int curBuffer, | 1241 | unsigned int curBuffer, |
@@ -1388,7 +1388,7 @@ module_exit(exit_netwave_cs); | |||
1388 | */ | 1388 | */ |
1389 | static void set_multicast_list(struct net_device *dev) | 1389 | static void set_multicast_list(struct net_device *dev) |
1390 | { | 1390 | { |
1391 | kio_addr_t iobase = dev->base_addr; | 1391 | unsigned int iobase = dev->base_addr; |
1392 | netwave_private *priv = netdev_priv(dev); | 1392 | netwave_private *priv = netdev_priv(dev); |
1393 | u_char __iomem * ramBase = priv->ramBase; | 1393 | u_char __iomem * ramBase = priv->ramBase; |
1394 | u_char rcvMode = 0; | 1394 | u_char rcvMode = 0; |
diff --git a/drivers/net/wireless/wavelan_cs.c b/drivers/net/wireless/wavelan_cs.c index c2037b2a05bf..06eea6ab7bf0 100644 --- a/drivers/net/wireless/wavelan_cs.c +++ b/drivers/net/wireless/wavelan_cs.c | |||
@@ -149,7 +149,7 @@ psa_write(struct net_device * dev, | |||
149 | net_local *lp = netdev_priv(dev); | 149 | net_local *lp = netdev_priv(dev); |
150 | u_char __iomem *ptr = lp->mem + PSA_ADDR + (o << 1); | 150 | u_char __iomem *ptr = lp->mem + PSA_ADDR + (o << 1); |
151 | int count = 0; | 151 | int count = 0; |
152 | kio_addr_t base = dev->base_addr; | 152 | unsigned int base = dev->base_addr; |
153 | /* As there seem to have no flag PSA_BUSY as in the ISA model, we are | 153 | /* As there seem to have no flag PSA_BUSY as in the ISA model, we are |
154 | * oblige to verify this address to know when the PSA is ready... */ | 154 | * oblige to verify this address to know when the PSA is ready... */ |
155 | volatile u_char __iomem *verify = lp->mem + PSA_ADDR + | 155 | volatile u_char __iomem *verify = lp->mem + PSA_ADDR + |
@@ -708,7 +708,7 @@ static void wl_update_history(wavepoint_history *wavepoint, unsigned char sigqua | |||
708 | /* Perform a handover to a new WavePoint */ | 708 | /* Perform a handover to a new WavePoint */ |
709 | static void wv_roam_handover(wavepoint_history *wavepoint, net_local *lp) | 709 | static void wv_roam_handover(wavepoint_history *wavepoint, net_local *lp) |
710 | { | 710 | { |
711 | kio_addr_t base = lp->dev->base_addr; | 711 | unsigned int base = lp->dev->base_addr; |
712 | mm_t m; | 712 | mm_t m; |
713 | unsigned long flags; | 713 | unsigned long flags; |
714 | 714 | ||
@@ -821,7 +821,7 @@ wv_82593_cmd(struct net_device * dev, | |||
821 | int cmd, | 821 | int cmd, |
822 | int result) | 822 | int result) |
823 | { | 823 | { |
824 | kio_addr_t base = dev->base_addr; | 824 | unsigned int base = dev->base_addr; |
825 | int status; | 825 | int status; |
826 | int wait_completed; | 826 | int wait_completed; |
827 | long spin; | 827 | long spin; |
@@ -945,7 +945,7 @@ read_ringbuf(struct net_device * dev, | |||
945 | char * buf, | 945 | char * buf, |
946 | int len) | 946 | int len) |
947 | { | 947 | { |
948 | kio_addr_t base = dev->base_addr; | 948 | unsigned int base = dev->base_addr; |
949 | int ring_ptr = addr; | 949 | int ring_ptr = addr; |
950 | int chunk_len; | 950 | int chunk_len; |
951 | char * buf_ptr = buf; | 951 | char * buf_ptr = buf; |
@@ -1096,7 +1096,7 @@ wv_psa_show(psa_t * p) | |||
1096 | static void | 1096 | static void |
1097 | wv_mmc_show(struct net_device * dev) | 1097 | wv_mmc_show(struct net_device * dev) |
1098 | { | 1098 | { |
1099 | kio_addr_t base = dev->base_addr; | 1099 | unsigned int base = dev->base_addr; |
1100 | net_local * lp = netdev_priv(dev); | 1100 | net_local * lp = netdev_priv(dev); |
1101 | mmr_t m; | 1101 | mmr_t m; |
1102 | 1102 | ||
@@ -1275,7 +1275,7 @@ wv_packet_info(u_char * p, /* Packet to dump */ | |||
1275 | static inline void | 1275 | static inline void |
1276 | wv_init_info(struct net_device * dev) | 1276 | wv_init_info(struct net_device * dev) |
1277 | { | 1277 | { |
1278 | kio_addr_t base = dev->base_addr; | 1278 | unsigned int base = dev->base_addr; |
1279 | psa_t psa; | 1279 | psa_t psa; |
1280 | DECLARE_MAC_BUF(mac); | 1280 | DECLARE_MAC_BUF(mac); |
1281 | 1281 | ||
@@ -1294,7 +1294,7 @@ wv_init_info(struct net_device * dev) | |||
1294 | 1294 | ||
1295 | #ifdef DEBUG_BASIC_SHOW | 1295 | #ifdef DEBUG_BASIC_SHOW |
1296 | /* Now, let's go for the basic stuff */ | 1296 | /* Now, let's go for the basic stuff */ |
1297 | printk(KERN_NOTICE "%s: WaveLAN: port %#lx, irq %d, " | 1297 | printk(KERN_NOTICE "%s: WaveLAN: port %#x, irq %d, " |
1298 | "hw_addr %s", | 1298 | "hw_addr %s", |
1299 | dev->name, base, dev->irq, | 1299 | dev->name, base, dev->irq, |
1300 | print_mac(mac, dev->dev_addr)); | 1300 | print_mac(mac, dev->dev_addr)); |
@@ -1828,7 +1828,7 @@ static int wavelan_set_nwid(struct net_device *dev, | |||
1828 | union iwreq_data *wrqu, | 1828 | union iwreq_data *wrqu, |
1829 | char *extra) | 1829 | char *extra) |
1830 | { | 1830 | { |
1831 | kio_addr_t base = dev->base_addr; | 1831 | unsigned int base = dev->base_addr; |
1832 | net_local *lp = netdev_priv(dev); | 1832 | net_local *lp = netdev_priv(dev); |
1833 | psa_t psa; | 1833 | psa_t psa; |
1834 | mm_t m; | 1834 | mm_t m; |
@@ -1918,7 +1918,7 @@ static int wavelan_set_freq(struct net_device *dev, | |||
1918 | union iwreq_data *wrqu, | 1918 | union iwreq_data *wrqu, |
1919 | char *extra) | 1919 | char *extra) |
1920 | { | 1920 | { |
1921 | kio_addr_t base = dev->base_addr; | 1921 | unsigned int base = dev->base_addr; |
1922 | net_local *lp = netdev_priv(dev); | 1922 | net_local *lp = netdev_priv(dev); |
1923 | unsigned long flags; | 1923 | unsigned long flags; |
1924 | int ret; | 1924 | int ret; |
@@ -1948,7 +1948,7 @@ static int wavelan_get_freq(struct net_device *dev, | |||
1948 | union iwreq_data *wrqu, | 1948 | union iwreq_data *wrqu, |
1949 | char *extra) | 1949 | char *extra) |
1950 | { | 1950 | { |
1951 | kio_addr_t base = dev->base_addr; | 1951 | unsigned int base = dev->base_addr; |
1952 | net_local *lp = netdev_priv(dev); | 1952 | net_local *lp = netdev_priv(dev); |
1953 | psa_t psa; | 1953 | psa_t psa; |
1954 | unsigned long flags; | 1954 | unsigned long flags; |
@@ -1994,7 +1994,7 @@ static int wavelan_set_sens(struct net_device *dev, | |||
1994 | union iwreq_data *wrqu, | 1994 | union iwreq_data *wrqu, |
1995 | char *extra) | 1995 | char *extra) |
1996 | { | 1996 | { |
1997 | kio_addr_t base = dev->base_addr; | 1997 | unsigned int base = dev->base_addr; |
1998 | net_local *lp = netdev_priv(dev); | 1998 | net_local *lp = netdev_priv(dev); |
1999 | psa_t psa; | 1999 | psa_t psa; |
2000 | unsigned long flags; | 2000 | unsigned long flags; |
@@ -2060,7 +2060,7 @@ static int wavelan_set_encode(struct net_device *dev, | |||
2060 | union iwreq_data *wrqu, | 2060 | union iwreq_data *wrqu, |
2061 | char *extra) | 2061 | char *extra) |
2062 | { | 2062 | { |
2063 | kio_addr_t base = dev->base_addr; | 2063 | unsigned int base = dev->base_addr; |
2064 | net_local *lp = netdev_priv(dev); | 2064 | net_local *lp = netdev_priv(dev); |
2065 | unsigned long flags; | 2065 | unsigned long flags; |
2066 | psa_t psa; | 2066 | psa_t psa; |
@@ -2130,7 +2130,7 @@ static int wavelan_get_encode(struct net_device *dev, | |||
2130 | union iwreq_data *wrqu, | 2130 | union iwreq_data *wrqu, |
2131 | char *extra) | 2131 | char *extra) |
2132 | { | 2132 | { |
2133 | kio_addr_t base = dev->base_addr; | 2133 | unsigned int base = dev->base_addr; |
2134 | net_local *lp = netdev_priv(dev); | 2134 | net_local *lp = netdev_priv(dev); |
2135 | psa_t psa; | 2135 | psa_t psa; |
2136 | unsigned long flags; | 2136 | unsigned long flags; |
@@ -2349,7 +2349,7 @@ static int wavelan_get_range(struct net_device *dev, | |||
2349 | union iwreq_data *wrqu, | 2349 | union iwreq_data *wrqu, |
2350 | char *extra) | 2350 | char *extra) |
2351 | { | 2351 | { |
2352 | kio_addr_t base = dev->base_addr; | 2352 | unsigned int base = dev->base_addr; |
2353 | net_local *lp = netdev_priv(dev); | 2353 | net_local *lp = netdev_priv(dev); |
2354 | struct iw_range *range = (struct iw_range *) extra; | 2354 | struct iw_range *range = (struct iw_range *) extra; |
2355 | unsigned long flags; | 2355 | unsigned long flags; |
@@ -2425,7 +2425,7 @@ static int wavelan_set_qthr(struct net_device *dev, | |||
2425 | union iwreq_data *wrqu, | 2425 | union iwreq_data *wrqu, |
2426 | char *extra) | 2426 | char *extra) |
2427 | { | 2427 | { |
2428 | kio_addr_t base = dev->base_addr; | 2428 | unsigned int base = dev->base_addr; |
2429 | net_local *lp = netdev_priv(dev); | 2429 | net_local *lp = netdev_priv(dev); |
2430 | psa_t psa; | 2430 | psa_t psa; |
2431 | unsigned long flags; | 2431 | unsigned long flags; |
@@ -2701,7 +2701,7 @@ static const struct iw_handler_def wavelan_handler_def = | |||
2701 | static iw_stats * | 2701 | static iw_stats * |
2702 | wavelan_get_wireless_stats(struct net_device * dev) | 2702 | wavelan_get_wireless_stats(struct net_device * dev) |
2703 | { | 2703 | { |
2704 | kio_addr_t base = dev->base_addr; | 2704 | unsigned int base = dev->base_addr; |
2705 | net_local * lp = netdev_priv(dev); | 2705 | net_local * lp = netdev_priv(dev); |
2706 | mmr_t m; | 2706 | mmr_t m; |
2707 | iw_stats * wstats; | 2707 | iw_stats * wstats; |
@@ -2764,7 +2764,7 @@ wv_start_of_frame(struct net_device * dev, | |||
2764 | int rfp, /* end of frame */ | 2764 | int rfp, /* end of frame */ |
2765 | int wrap) /* start of buffer */ | 2765 | int wrap) /* start of buffer */ |
2766 | { | 2766 | { |
2767 | kio_addr_t base = dev->base_addr; | 2767 | unsigned int base = dev->base_addr; |
2768 | int rp; | 2768 | int rp; |
2769 | int len; | 2769 | int len; |
2770 | 2770 | ||
@@ -2925,7 +2925,7 @@ wv_packet_read(struct net_device * dev, | |||
2925 | static inline void | 2925 | static inline void |
2926 | wv_packet_rcv(struct net_device * dev) | 2926 | wv_packet_rcv(struct net_device * dev) |
2927 | { | 2927 | { |
2928 | kio_addr_t base = dev->base_addr; | 2928 | unsigned int base = dev->base_addr; |
2929 | net_local * lp = netdev_priv(dev); | 2929 | net_local * lp = netdev_priv(dev); |
2930 | int newrfp; | 2930 | int newrfp; |
2931 | int rp; | 2931 | int rp; |
@@ -3062,7 +3062,7 @@ wv_packet_write(struct net_device * dev, | |||
3062 | short length) | 3062 | short length) |
3063 | { | 3063 | { |
3064 | net_local * lp = netdev_priv(dev); | 3064 | net_local * lp = netdev_priv(dev); |
3065 | kio_addr_t base = dev->base_addr; | 3065 | unsigned int base = dev->base_addr; |
3066 | unsigned long flags; | 3066 | unsigned long flags; |
3067 | int clen = length; | 3067 | int clen = length; |
3068 | register u_short xmtdata_base = TX_BASE; | 3068 | register u_short xmtdata_base = TX_BASE; |
@@ -3183,7 +3183,7 @@ wavelan_packet_xmit(struct sk_buff * skb, | |||
3183 | static inline int | 3183 | static inline int |
3184 | wv_mmc_init(struct net_device * dev) | 3184 | wv_mmc_init(struct net_device * dev) |
3185 | { | 3185 | { |
3186 | kio_addr_t base = dev->base_addr; | 3186 | unsigned int base = dev->base_addr; |
3187 | psa_t psa; | 3187 | psa_t psa; |
3188 | mmw_t m; | 3188 | mmw_t m; |
3189 | int configured; | 3189 | int configured; |
@@ -3377,7 +3377,7 @@ wv_mmc_init(struct net_device * dev) | |||
3377 | static int | 3377 | static int |
3378 | wv_ru_stop(struct net_device * dev) | 3378 | wv_ru_stop(struct net_device * dev) |
3379 | { | 3379 | { |
3380 | kio_addr_t base = dev->base_addr; | 3380 | unsigned int base = dev->base_addr; |
3381 | net_local * lp = netdev_priv(dev); | 3381 | net_local * lp = netdev_priv(dev); |
3382 | unsigned long flags; | 3382 | unsigned long flags; |
3383 | int status; | 3383 | int status; |
@@ -3440,7 +3440,7 @@ wv_ru_stop(struct net_device * dev) | |||
3440 | static int | 3440 | static int |
3441 | wv_ru_start(struct net_device * dev) | 3441 | wv_ru_start(struct net_device * dev) |
3442 | { | 3442 | { |
3443 | kio_addr_t base = dev->base_addr; | 3443 | unsigned int base = dev->base_addr; |
3444 | net_local * lp = netdev_priv(dev); | 3444 | net_local * lp = netdev_priv(dev); |
3445 | unsigned long flags; | 3445 | unsigned long flags; |
3446 | 3446 | ||
@@ -3528,7 +3528,7 @@ wv_ru_start(struct net_device * dev) | |||
3528 | static int | 3528 | static int |
3529 | wv_82593_config(struct net_device * dev) | 3529 | wv_82593_config(struct net_device * dev) |
3530 | { | 3530 | { |
3531 | kio_addr_t base = dev->base_addr; | 3531 | unsigned int base = dev->base_addr; |
3532 | net_local * lp = netdev_priv(dev); | 3532 | net_local * lp = netdev_priv(dev); |
3533 | struct i82593_conf_block cfblk; | 3533 | struct i82593_conf_block cfblk; |
3534 | int ret = TRUE; | 3534 | int ret = TRUE; |
@@ -3765,7 +3765,7 @@ static int | |||
3765 | wv_hw_config(struct net_device * dev) | 3765 | wv_hw_config(struct net_device * dev) |
3766 | { | 3766 | { |
3767 | net_local * lp = netdev_priv(dev); | 3767 | net_local * lp = netdev_priv(dev); |
3768 | kio_addr_t base = dev->base_addr; | 3768 | unsigned int base = dev->base_addr; |
3769 | unsigned long flags; | 3769 | unsigned long flags; |
3770 | int ret = FALSE; | 3770 | int ret = FALSE; |
3771 | 3771 | ||
@@ -4047,7 +4047,7 @@ wavelan_interrupt(int irq, | |||
4047 | { | 4047 | { |
4048 | struct net_device * dev = dev_id; | 4048 | struct net_device * dev = dev_id; |
4049 | net_local * lp; | 4049 | net_local * lp; |
4050 | kio_addr_t base; | 4050 | unsigned int base; |
4051 | int status0; | 4051 | int status0; |
4052 | u_int tx_status; | 4052 | u_int tx_status; |
4053 | 4053 | ||
@@ -4306,7 +4306,7 @@ static void | |||
4306 | wavelan_watchdog(struct net_device * dev) | 4306 | wavelan_watchdog(struct net_device * dev) |
4307 | { | 4307 | { |
4308 | net_local * lp = netdev_priv(dev); | 4308 | net_local * lp = netdev_priv(dev); |
4309 | kio_addr_t base = dev->base_addr; | 4309 | unsigned int base = dev->base_addr; |
4310 | unsigned long flags; | 4310 | unsigned long flags; |
4311 | int aborted = FALSE; | 4311 | int aborted = FALSE; |
4312 | 4312 | ||
@@ -4382,7 +4382,7 @@ wavelan_open(struct net_device * dev) | |||
4382 | { | 4382 | { |
4383 | net_local * lp = netdev_priv(dev); | 4383 | net_local * lp = netdev_priv(dev); |
4384 | struct pcmcia_device * link = lp->link; | 4384 | struct pcmcia_device * link = lp->link; |
4385 | kio_addr_t base = dev->base_addr; | 4385 | unsigned int base = dev->base_addr; |
4386 | 4386 | ||
4387 | #ifdef DEBUG_CALLBACK_TRACE | 4387 | #ifdef DEBUG_CALLBACK_TRACE |
4388 | printk(KERN_DEBUG "%s: ->wavelan_open(dev=0x%x)\n", dev->name, | 4388 | printk(KERN_DEBUG "%s: ->wavelan_open(dev=0x%x)\n", dev->name, |
@@ -4436,7 +4436,7 @@ static int | |||
4436 | wavelan_close(struct net_device * dev) | 4436 | wavelan_close(struct net_device * dev) |
4437 | { | 4437 | { |
4438 | struct pcmcia_device * link = ((net_local *)netdev_priv(dev))->link; | 4438 | struct pcmcia_device * link = ((net_local *)netdev_priv(dev))->link; |
4439 | kio_addr_t base = dev->base_addr; | 4439 | unsigned int base = dev->base_addr; |
4440 | 4440 | ||
4441 | #ifdef DEBUG_CALLBACK_TRACE | 4441 | #ifdef DEBUG_CALLBACK_TRACE |
4442 | printk(KERN_DEBUG "%s: ->wavelan_close(dev=0x%x)\n", dev->name, | 4442 | printk(KERN_DEBUG "%s: ->wavelan_close(dev=0x%x)\n", dev->name, |