brcmfmac: introduce unified register access interface for SDIO
authorFranky Lin <frankyl@broadcom.com>
Sat, 5 May 2012 01:27:31 +0000 (18:27 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 May 2012 21:27:56 +0000 (17:27 -0400)
commite9b8d91d5555e64d30c3b972795579e6d8619908
tree784deda314aa31dbc0348811b4a66333a855fe7a
parent7d9cfc28269b10b19678d7cb57892afec85af8fb
brcmfmac: introduce unified register access interface for SDIO

Both brcmf_sdcard_cfg_read/write and brcmf_sdcard_reg_read/write
are used as interface functions for register access of SDIO WiFi
dongle. A unified interface brcmf_sdio_regr/w is introduced in
this patch in order to simplify the interface and keep the
complexity within the lower layer.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-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/brcmfmac/bcmsdh.c
drivers/net/wireless/brcm80211/brcmfmac/sdio_host.h