aboutsummaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2011-07-05staging: rts_pstor: Fix a bug that a MMCPlus card can't be accessedwwang2-21/+46
1. Don't switch bus if cmd14 timedout 2. Add a new group of return codes for mmc_test_switch_bus Signed-off-by: wwang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05gma500: oops.. thou shalt stg add...Alan Cox3-0/+732
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05gma500: Update the TODO listAlan Cox1-20/+9
This is now horribly out of date Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: added newlines to some debug macros in bcmsdh_sdmmc.cArend van Spriel1-4/+4
Some macros were missing a terminating '\n' character. This commit fixes those. Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Pieter-Paul Giesberts <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: simpler string handling in brcmf_c_pktfilter_offload_set()Roland Vossen1-9/+2
Replaced two functions with strcpy(). Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove macro WLBANDINITFN from brcmsmacArend van Spriel6-28/+26
The macro WLBANDINITFN does nothing meaningful in the brcmsmac driver and has been removed. Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Pieter-Paul Giesberts <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove external definitions from phy_lcn.cArend van Spriel2-8/+4
The source file phy_lcn.c had several external definitions flagged by checkpatch.pl script. The patch fixes those. Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Pieter-Paul Giesberts <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove several externs from dhd_linux.cArend van Spriel2-3/+7
The script checkpatch.pl flagged for some extern variables in dhd_linux.c source. Several have been fixed in this patch. Two remaining are in macro conditional code that needs cleanup so they are not resolved here. Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Pieter-Paul Giesberts <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replace occurrences of __attribute__((packed))Arend van Spriel2-9/+9
One of the checkpatch warning on this driver is about usage of the __attribute__ keyword. This patch changes this to using the __packed keyword. Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Pieter-Paul Giesberts <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed #ifdef SDIOH_API_ACCESS_RETRY_LIMITRoland Vossen1-12/+0
SDIOH_API_ACCESS_RETRY_LIMIT is always defined. Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: moved fullmac definitions from .h to .c filesRoland Vossen3-223/+104
And deleted unused definitions. Improves code since it makes clear that the definitions are only used by a specific .c file. Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: merged bcmsdbus.h into sdio_host.hRoland Vossen5-193/+167
Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: merged sbsdio.h into sdio_host.hRoland Vossen4-280/+258
Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: merged dngl_stats.h into dhd.hRoland Vossen9-39/+12
Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: deleted two fullmac source filesRoland Vossen5-444/+394
Having both a 'generic' as a 'linux' specific variant of a file makes no sense in a Linux environment. Merged bcmsdh_sdmmc_linux.c into bcmsdh_sdmmc.c, and bcmsdh_linux.c into bcmsdh.c. Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced Broadcom specific acronym WLCRoland Vossen27-957/+996
WLC (caps) was replaced, wlc (small caps) has not been replaced yet. Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove checkpatch warnings from phy_n.cArend van Spriel1-29/+22
The source file phy_n.c had couple of checkpatch warnings that have been fixed in this patch. Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: made name lookup arrays more constArend van Spriel1-2/+2
The checkpatch script gave a hint that some character string arrays probably should have an additional const keyword. This patch changes the static const char * arrays to static const char * const arrays as suggested getting rid of two checkpatch warnings. Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: remove checkpatch warnings 'suspect code indent'Arend van Spriel4-12/+3
The driver sources contained a couple of checkpatch warnings of the given class. These have been cleaned up. Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: renamed structures in softmacRoland Vossen13-311/+304
Several structures contained a '_c_' in their name that does not add any information. Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced typedef tx_power_t by struct brcms_tx_powerRoland Vossen5-6/+5
Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced typedef wlc_phy_t with struct brcms_phy_pubRoland Vossen9-202/+223
Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced typedef phy_info_t by struct brcms_phyRoland Vossen6-626/+648
Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced various typedefs in softmacRoland Vossen36-1116/+1110
typedefs are undesirable according to documentation/CodingStyle. Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed remains of assert mechanism in fullmacRoland Vossen2-59/+0
Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed asserts from dhd_sdio.cRoland Vossen1-55/+21
Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed asserts from dhd_linux.cRoland Vossen1-32/+1
Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed asserts from dhd_cdc.c and dhd_common.cRoland Vossen2-14/+9
Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed asserts from bcmsdh.cRoland Vossen1-36/+0
Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed asserts from two fullmac filesRoland Vossen2-26/+13
ASSERTs are non desirable, replaced by error handling where applicable. Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename macros in dhd_dbg.hArend van Spriel5-779/+815
The header file dhd_dbg.h contains several macros used throughout the code starting with DHD_. These have been renamed to get rid of this broadcom specific acronym. Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed unused #ifdef sections in fullmacRoland Vossen3-135/+0
CONFIG_MACH_SANDGATE2G, CONFIG_MMC_MSM7X00A, CONFIG_HAS_EARLYSUSPEND and CONFIG_WIFI_CONTROL_FUNC were never defined. Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed occurrences of 'dhd'Roland Vossen8-154/+132
DHD is a Broadcom internal term and has been replaced by BRCMF. Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: clean up checkpatch errorArend van Spriel1-2/+1
A checkpatch error was introduced in following commit: 0f22b8a staging: brcm80211: remove MMC_SDIO_ABORT macro definition The patch gets rid of the error. Reviewed-by: Roland Vossen <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging/easycap: kill telltale logicTomas Winkler4-122/+3
This reason for this feature was 'some versions of the videodev module overwrite the data which has been written by the call to usb_set_intfdata() in easycap_usb_probe(), replacing it with a pointer to the embedded v4l2_device structure. to detect this, the string in the easycap.telltale[] buffer is checked.' The upstream version of v4l2_device_register sets driver data only when it wasn't already set, therefore this is not needed Signed-off-by: Tomas Winkler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename external function in wl_cfg80211.cArend van Spriel4-26/+27
Renamed external function getting rid of wl_ prefix. Removed unused function from the API header file wl_cfg80211.h as it was not defined. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename pointer conversion macros in wl_cfg80211.hArend van Spriel2-81/+76
The data structures in fullmac driver references are made easier by using provided macros in wl_cfg80211.h. The abbreviation 'wl' in these macros has been replaced by cfg or the macro has been removed if used only once. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename structures and variables in wl_cfg80211.cArend van Spriel2-654/+695
Making an effort getting rid of the wl_ prefix from the fullmac source files. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed unused definitions from dhd_sdio.cRoland Vossen1-23/+2
Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: W_REG macro cleanup in fullmac SDIORoland Vossen1-13/+5
Code cleanup. W_REG was defined the same for both big and little endian systems. Replaced W_REG on two spots with its expansion. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed last amd64 compiler warningsRoland Vossen5-20/+20
Code cleanup. Warnings were due to pointer declarations being used for an address that does not reside on the CPU bus. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: got rid of redundant member 'regs' of struct dhd_busRoland Vossen1-7/+5
Code cleanup. Decreases amd64 compiler warnings. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced macro W_SDREG by function w_sdreg()Roland Vossen1-33/+41
Code cleanup. Leads to more readable code and better type checking. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: replaced macro R_SDREG by function r_sdreg()Roland Vossen1-28/+40
Code cleanup. Leads to more readable code and better type checking. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: fullmac register access macro's take u32 instead of pointersRoland Vossen1-39/+38
Code cleanup. Fullmac contains macro's that access registers on the 32 bits backplane bus. These registers should not be declared as pointers since pointers can be 64 bits. The following patch series gets rid of these pointers and ultimately of all compiler warning when compiling for amd64. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed unused code and definitions from fullmacRoland Vossen12-345/+0
Code cleanup. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: removed last typedefs from fullmacRoland Vossen11-86/+97
Code cleanup. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename dhd_bus structure and functionsArend van Spriel5-125/+125
The header file dhd_bus.h contains several function prototypes starting with dhd_bus_ and using parameter with struct dhd_bus. These function and structure have been renamed to brcmf_bus. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: rename function variablesArend van Spriel4-250/+246
This commit gets rid of variables whose name is a broadcom specific acronym and not very meaningful. Signed-off-by: Arend van Spriel <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: brcm80211: further cleaned fullmac header filesRoland Vossen9-268/+228
Code cleanup. Deleted unused definitions. Moved locally used definitions to .c files. Moved definitions from bcmsdh_sdmmc.h to bcmsdbus.h. Signed-off-by: Roland Vossen <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Reviewed-by: Franky Lin <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>