staging: brcm80211: restrict MIPS dma bug workaround to BCM47XX
authorArend van Spriel <arend@broadcom.com>
Mon, 15 Aug 2011 13:34:26 +0000 (15:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:08:07 +0000 (13:08 -0700)
commitadf27befdc79a9403bfba82ee84f02a47bcd546c
tree39821578fcd3c13cf9d562caa8bce4392670059f
parent3bd8ef6799524fd48044a83aab38da57d9a98dbc
staging: brcm80211: restrict MIPS dma bug workaround to BCM47XX

The inline function dma_spin_for_len() was defined for MIPS platforms
but the problem only occurs with dma of the PCI core in bcm47xx chips.
This patch restricts the function further to BCM47XX platforms only.

Tested on BCM63281.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
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/dma.h