staging: brcm80211: bugfix for fifo problem on 64 bits platforms.
authorRoland Vossen <rvossen@broadcom.com>
Tue, 23 Aug 2011 12:13:59 +0000 (14:13 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:10:15 +0000 (13:10 -0700)
commitc13d2ad0599a73d87871c5a2b4468e8cbd4bf369
tree882886d86052b9b59b4fbbf7e85cba20e78c746f
parent49d468f64d59016030c2835a423833e7b45ccce5
staging: brcm80211: bugfix for fifo problem on 64 bits platforms.

Message 'receive fifo overflow' appeared in the log. Root cause was an
invalid physical address being programmed into the DMA engine. This was
caused by an invalid pointer cast in the dma code. Issue was observed on
a Sparc (Sun Fire V120) machine but could theoretically also pop up
on other architectures.

Driver was tested to scan and ping on aforementioned machine.

Reviewed-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/dma.c