staging: brcm80211: restrict register access method for bcm47xx
authorArend van Spriel <arend@broadcom.com>
Mon, 15 Aug 2011 13:34:25 +0000 (15:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:08:06 +0000 (13:08 -0700)
commit3bd8ef6799524fd48044a83aab38da57d9a98dbc
tree53e1fe659080106e4e3b6ca15c297a6cf3febcbb
parenta87602e075126c9a7acad7ba999a40837f966e54
staging: brcm80211: restrict register access method for bcm47xx

The driver contained conditional code for resolving issue with
dma transaction reordering. This code was conditionalized using
__mips__ macro, but it actually is specific to bcm47xx chips.
This patch replaces it for the more speficic CONFIG_BCM47XX macro.

Tested on BCM63281.

Reviewed-by: Henry Ptasinski <henryp@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Tested-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/phy/phy_cmn.c
drivers/staging/brcm80211/brcmsmac/types.h