brcm80211: smac: use DMA-API calls for descriptor allocations
authorArend van Spriel <arend@broadcom.com>
Thu, 8 Dec 2011 23:06:52 +0000 (15:06 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Dec 2011 20:32:46 +0000 (15:32 -0500)
commit2e81b9b19f20286425fed3b54df9b81189444cee
treeec2b6a8ff0af61a0dca9af8d826182e877d198f3
parent16d2812e9eaaa47ca952ea81e34b4f400c861dfc
brcm80211: smac: use DMA-API calls for descriptor allocations

Using BCMA hides the specifics about the host interface. The
driver is now using the DMA-API to do dma related calls. BCMA
provides the device object to use in the DMA-API calls.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/dma.c
drivers/net/wireless/brcm80211/brcmsmac/dma.h
drivers/net/wireless/brcm80211/brcmsmac/main.c