summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/InterfaceTx.c
Commit message (Collapse)AuthorAgeFilesLines
* Staging: bcm: InterfaceTx.c: checkpath fix: Blank line after declarationsMatthias Beyer2014-07-091-1/+1
| | | | | | Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Acked-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: bcm: InterfaceTx.c: Outsourced code chunkMatthias Beyer2014-07-091-81/+84
| | | | | | | | | This patch outsources a chunk of code into an own function and refactors the variable names inside the new function. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Acked-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: bcm: InterfaceTx.c: Shortened lines + Whitespace cleanupMatthias Beyer2014-07-091-25/+61
| | | | | | Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Acked-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* beeceem: Replace C99-style comments with C89 pendants in InterfaceTx.cRalph Mueck2014-01-091-10/+10
| | | | | | | | Checkpatch complains about the use of //-comments, thus they are replaced by C89-style comments. Signed-off-by: Ralph Mueck <linux-kernel@rmueck.de> Signed-off-by: Matthias Oefelein <ma.oefelein@arcor.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* beeceem: Fix position of braces in conditional statements in InterfaceTx.cRalph Mueck2014-01-091-43/+20Star
| | | | | | | | This corrects the position of (opening) braces in if-conditionals to make checkpatch shut up. Signed-off-by: Ralph Mueck <linux-kernel@rmueck.de> Signed-off-by: Matthias Oefelein <ma.oefelein@arcor.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* beeceem: Add spaces before opening parentheses in if-conditionals in ↵Ralph Mueck2014-01-091-15/+15
| | | | | | | | | | InterfaceTx.c This patch adds spaces before the opening parentheses of if-conditionals to comply with offical code styling guidelines. Signed-off-by: Ralph Mueck <linux-kernel@rmueck.de> Signed-off-by: Matthias Oefelein <ma.oefelein@arcor.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* beeceem: Fix several whitespace issues in InterfaceTx.cRalph Mueck2014-01-091-32/+32
| | | | | | | | | | | | This patch takes care of the following issues: - missing spaces at variable assignments - missing spaces between function arguments - spaces at the beginning of a line where tabs should be - prohibited spaces before a (semi)colon Signed-off-by: Ralph Mueck <linux-kernel@rmueck.de> Signed-off-by: Matthias Oefelein <ma.oefelein@arcor.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: bcm: Remove unnecessary pointer castingLisa Nguyen2013-10-301-1/+1
| | | | | | | | Some void pointers can be assigned to other pointer variables in functions without casting. Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: bcm: Replace FALSE with falseLisa Nguyen2013-10-281-13/+13
| | | | | | | Replace user-defined type FALSE with C defined false keyword. Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: bcm: Replace BOOLEAN with boolLisa Nguyen2013-10-281-1/+1
| | | | | | | | Remove user-defined BOOLEAN data type with C bool data type. Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: bcm: Remove typedef for _USB_TCB and call directly.Kevin McKinney2012-11-021-5/+5
| | | | | | | | | | | | This patch removes typedef for _USB_TCB, changes the name of the struct to bcm_usb_tcb. In addition, any calls to typedefs USB_TCB, or *PUSB_TCB are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly.Kevin McKinney2012-11-021-4/+4
| | | | | | | | | | | | This patch removes typedef for _S_INTERFACE_ADAPTER, changes the name of the struct to bcm_interface_adapter. In addition, any calls to typedefs S_INTERFACE_ADAPTER, or *PS_INTERFACE_ADAPTER are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly.Kevin McKinney2012-06-051-2/+2
| | | | | | | | | | | This patch removes typedef for _MINI_ADAPTER, changes the name of the struct from _MINI_ADAPTER to bcm_mini_adapter. In addition, any calls to the following typedefs "MINI_ADAPTER, *PMINI_ADAPTER" are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: bcm: Remove typedef for link_request and call directly.Kevin McKinney2012-06-051-1/+1
| | | | | | | | | | | This patch removes typedef for link_request, changes the name of the struct from link_request to bcm_link_request. In addition, any calls to the following typedefs "LINK_REQUEST, *PLINK_REQUEST, *CONTROL_MESSAGE" are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* Staging: Beceem: remove old kernel compatibility codeDan Carpenter2010-12-071-11/+0Star
| | | | | | | | This drops compatability for everything from 2.4 to 2.6.35. Now it only works on the latest kernel. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* beceem: debug message format changesStephen Hemminger2010-11-011-0/+4
| | | | | | Add more debug messages and make them similar to other drivers Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
* beceem: remove dead codeStephen Hemminger2010-11-011-9/+0Star
| | | | | | Remove commented out with '#if 0' Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
* beceem: get rid of unnecessary inline usageStephen Hemminger2010-11-011-2/+2
| | | | | | | Many routines were tagged with inline_ but GCC does a better job of deciding this. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
* beceem: remove dead codeStephen Hemminger2010-11-011-44/+0Star
| | | | Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
* beceem: remove ifdef'sStephen Hemminger2010-10-301-2/+0Star
| | | | | | | | There were a lot of ifdef's for driver options which have no configuration options. Choose the current value and remove the ifdef. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
* staging: Beeceem USB Wimax driverStephen Hemminger2010-09-091-0/+259
The Sprint 4G network uses a Wimax dongle with Beecem chipset. The driver is typical of out of tree drivers, but maybe useful for people, and the hardware is readily available. Here is a staging ready version (i.e warts and all) 0. Started with Rel_5.2.7.3P1_USB from Sprint4GDeveloperPack-1.1 1. Consolidated files in staging 2. Remove Dos cr/lf 3. Remove unnecessary ioctl from usbbcm_fops Applied patches that were in the developer pack, surprising there were ones for 2.6.35 already. This is compile tested only, see TODO for what still needs to be done. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>