diff options
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 1acfbcd3703c..36e8d2f6e7b4 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -305,9 +305,10 @@ static inline void ipw_write_reg32(struct ipw_priv *a, u32 b, u32 c) | |||
305 | #define _ipw_write8(ipw, ofs, val) writeb((val), (ipw)->hw_base + (ofs)) | 305 | #define _ipw_write8(ipw, ofs, val) writeb((val), (ipw)->hw_base + (ofs)) |
306 | 306 | ||
307 | /* 8-bit direct write (for low 4K of SRAM/regs), with debug wrapper */ | 307 | /* 8-bit direct write (for low 4K of SRAM/regs), with debug wrapper */ |
308 | #define ipw_write8(ipw, ofs, val) \ | 308 | #define ipw_write8(ipw, ofs, val) do { \ |
309 | IPW_DEBUG_IO("%s %d: write_direct8(0x%08X, 0x%08X)\n", __FILE__, __LINE__, (u32)(ofs), (u32)(val)); \ | 309 | IPW_DEBUG_IO("%s %d: write_direct8(0x%08X, 0x%08X)\n", __FILE__, __LINE__, (u32)(ofs), (u32)(val)); \ |
310 | _ipw_write8(ipw, ofs, val) | 310 | _ipw_write8(ipw, ofs, val); \ |
311 | } while (0) | ||
311 | 312 | ||
312 | /* 16-bit direct write (low 4K) */ | 313 | /* 16-bit direct write (low 4K) */ |
313 | #define _ipw_write16(ipw, ofs, val) writew((val), (ipw)->hw_base + (ofs)) | 314 | #define _ipw_write16(ipw, ofs, val) writew((val), (ipw)->hw_base + (ofs)) |
@@ -11946,7 +11947,7 @@ module_param(auto_create, int, 0444); | |||
11946 | MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)"); | 11947 | MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)"); |
11947 | 11948 | ||
11948 | module_param(led, int, 0444); | 11949 | module_param(led, int, 0444); |
11949 | MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)\n"); | 11950 | MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)"); |
11950 | 11951 | ||
11951 | module_param(debug, int, 0444); | 11952 | module_param(debug, int, 0444); |
11952 | MODULE_PARM_DESC(debug, "debug output mask"); | 11953 | MODULE_PARM_DESC(debug, "debug output mask"); |