linux-kernel-test/drivers/net/wireless
Ben Cahill 74ba67edfc iwlagn: Use iwl_write8() for CSR_INT_COALESCING register
CSR_INT_COALESCING previously had only one, but now has two single-byte fields.
With only one single-byte field (lowest order byte) it was okay to write via
iwl_write32(), but now with two, an iwl_write32() to the lower order field
clobbers the other field (odd-address CSR_INT_PERIODIC_REG, offset 0x5), and an
iwl_write32() to CSR_INT_PERIODIC_REG could clobber the lowest byte of the
next-higher register (CSR_INT, offset 0x8).

Fortunately, no bad side effects have been produced by the iwl_write32()
usage, due to order of execution (low order byte was always written before
higher order byte), and the fact that writing "0" to the low byte of the
next higher register has no effect (only action is when writing "1"s).

Nonetheless, this cleans up the accesses so no bad side effects might occur
in the future, if execution order changes, or more bit fields get added to
CSR_INT_COALESCING.

Add some comments regarding periodic interrupt usage.

Signed-off-by: Ben Cahill <ben.m.cahill@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-11-23 17:05:30 -05:00
..
ath ath5k: Fix I/Q calibration 2009-11-23 17:05:29 -05:00
b43 b43: Rewrite DMA Tx status handling sanity checks 2009-11-23 17:05:28 -05:00
b43legacy
hostap
ipw2x00 ipw2200: Set core hw rfkill status when hardware changes state 2009-11-23 17:05:27 -05:00
iwlwifi iwlagn: Use iwl_write8() for CSR_INT_COALESCING register 2009-11-23 17:05:30 -05:00
iwmc3200wifi iwmc3200wifi: declare MODULE_FIRMWARE 2009-11-11 15:23:52 -05:00
libertas libertas: declare MODULE_FIRMWARE 2009-11-11 15:23:53 -05:00
libertas_tf libertas_tf_usb: declare MODULE_FIRMWARE 2009-11-11 15:23:53 -05:00
orinoco orinoco: declare MODULE_FIRMWARE 2009-11-11 15:23:53 -05:00
p54 cfg80211: convert bools into flags 2009-11-19 11:08:50 -05:00
prism54 prism54: declare MODULE_FIRMWARE 2009-11-11 15:23:54 -05:00
rt2x00 mac80211: request TX status where needed 2009-11-19 11:08:56 -05:00
rtl818x drivers/net/wireless/rtl818x: remove exceptional & on function name 2009-11-18 10:48:57 -08:00
wl12xx wl1251: add NVS in EEPROM support 2009-11-18 17:09:24 -05:00
zd1211rw zd1211rw: declare MODULE_FIRMWARE 2009-11-11 15:23:55 -05:00
adm8211.c drivers/net/adm8211.c: remove exceptional & on function name 2009-11-18 10:48:52 -08:00
adm8211.h
airo_cs.c
airo.c
airo.h
at76c50x-usb.c at76c50x-usb: Supply additional parameters to at76_start_monitor scan request 2009-11-11 17:09:17 -05:00
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c atmel: declare MODULE_FIRMWARE 2009-11-11 15:23:49 -05:00
atmel.h
Kconfig
mac80211_hwsim.c cfg80211: convert bools into flags 2009-11-19 11:08:50 -05:00
Makefile
mwl8k.c mwl8k: declare MODULE_FIRMWARE 2009-11-11 15:23:53 -05:00
ray_cs.c drivers/net/wireless: correct check on CCS_START_NETWORK 2009-11-11 15:23:55 -05:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: handle NL80211_AUTHTYPE_AUTOMATIC 2009-11-16 14:17:13 -05:00
wl3501_cs.c wl3501_cs: remove pedantic build warning 2009-11-18 17:09:25 -05:00
wl3501.h
zd1201.c zd1201: declare MODULE_FIRMWARE 2009-11-11 15:23:54 -05:00
zd1201.h