android_kernel_motorola_sm6225/drivers/net/wireless/iwlegacy
Stanislaw Gruszka 4e5ea2088b iwlegacy: cleanup/fix memory barriers
wmb(), rmb() are not needed when writel(), readl() are used as
accessors for MMIO. We use them indirectly via iowrite32(),
ioread32().

What is needed mmiowb(), for synchronizing writes coming from
different CPUs on PCIe bridge (see in patch comments). This
fortunately is not needed on x86, where mmiowb() is just
defined as compiler barrier. As iwlegacy devices are most likely
not used on anything other than x86, this is not so important
fix.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-02-22 14:51:12 -05:00
..
3945-debug.c iwlegacy: checkpatch.pl fixes 2011-11-15 14:51:01 +01:00
3945-mac.c iwlegacy: remove struct il_tx_info 2012-02-06 14:56:13 -05:00
3945-rs.c iwlegacy: get rid of ctx structure 2012-02-06 14:56:11 -05:00
3945.c iwlegacy: remove struct il_tx_info 2012-02-06 14:56:13 -05:00
3945.h iwlegacy: move ops out of config 2012-02-06 14:56:11 -05:00
4965-calib.c iwlegacy: merge il_base_params into il_cfg 2012-02-06 14:56:12 -05:00
4965-debug.c iwlegacy: checkpatch.pl fixes 2011-11-15 14:51:01 +01:00
4965-mac.c iwlegacy: always check if got h/w access before write 2012-02-22 14:51:12 -05:00
4965-rs.c iwlegacy: get rid of ctx structure 2012-02-06 14:56:11 -05:00
4965.c iwlegacy: remove set_hw_params callback 2012-02-06 14:56:14 -05:00
4965.h iwlegacy: move ops out of config 2012-02-06 14:56:11 -05:00
commands.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00
common.c iwlegacy: cleanup/fix memory barriers 2012-02-22 14:51:12 -05:00
common.h iwlegacy: cleanup/fix memory barriers 2012-02-22 14:51:12 -05:00
csr.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00
debug.c iwlegacy: merge il_base_params into il_cfg 2012-02-06 14:56:12 -05:00
iwl-spectrum.h iwlegacy: rename iwl to il 2011-11-15 11:16:58 +01:00
Kconfig iwlegacy: merge iwl-debug.h into common.h 2011-11-15 14:25:21 +01:00
Makefile iwlegacy: rename iwl-debug.c to debug.c 2011-11-15 14:24:36 +01:00
prph.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00