]> git.karo-electronics.de Git - mv-sheeva.git/commit
staging: brcm80211: replaced #ifdef __mips__ sections by W_REG_FLUSH
authorRoland Vossen <rvossen@broadcom.com>
Wed, 1 Jun 2011 11:44:53 +0000 (13:44 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 19:36:44 +0000 (12:36 -0700)
commit6a9a25eec0b55ea45e22710a9bcaf9690cb42fe6
tree80614a72f1e9a0be282f0b127b8b6afcc2abfb74
parent0a0ad7d255d6e84fb265f61ac090ff1c1e546444
staging: brcm80211: replaced #ifdef __mips__ sections by W_REG_FLUSH

Code cleanup. A read-after-write construct is present in the code to ensure
write order for certain Broadcom chips. Those chips are: bcm4706, bcm4716,
bcm4717, bcm4718. All these chips contain a MIPS processor. This patch gets
rid of several #ifdef __mips__ sections by defining a new macro in a header
file. This patch does not introduce behavioral changes and is purely meant
for code cleanup. The __mips__ define will be made more specific in a future
patch.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_cmn.c
drivers/staging/brcm80211/include/bcmutils.h