summaryrefslogtreecommitdiff
path: root/drivers/net
AgeCommit message (Collapse)Author
2012-06-15net: wireless: bcmdhd: Fix P2P interface removalDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix proper scan command even if request is NULLDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Decrease event wake_lock timeout to 1500 msDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix getting arp_hostip tableDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Allow to push more packets to FW for TxDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Fix scan crash in ibss modeDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Add FW reloading in case of FW hangDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Update to Version 5.90.125.94.1Dmitry Shmidt
- Return zeroed private command buffer - Fix memory leak in wl_inform_single_bss() Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-15net: wireless: bcmdhd: Use CONFIG_DHD_USE_STATIC_BUF for preallocated memoryDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-06-13smsc95xx: Add module params to read MAC addressManoj Chourasia
This patch adds support for mac_addr module param mac_addr : MAC address which will be assigned to the above device. example mac_addr=0x0,0x2,0x2,0x3,0x3,0x4 If EEPROM read fails for MAC address for a smsc interface and if the mac_addr module param is set then driver will set that device MAC address provided in mac_addr. This can be set for only one device bug 719410, bug 921146 Change-Id: I6eb0363951d91fad857b76af8a4a097cd0fb7623 Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/108237 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-06-08Initial Toradex Colibri T20 L4T R15 support.Marcel Ziswiler
2012-06-04net: wireless: sd8797: Fix (re)association issueNitin Bindal
Fix the issue - When device connects to 2GHz AP, it does not scan APs in 5GHz and vice-versa. Bug 968022 Change-Id: I5dfddf4e73260cb1e03bd3d28c029503507cd898 Signed-off-by: Nitin Bindal <nbindal@nvidia.com> Reviewed-on: http://git-master/r/104482 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-05-24net: wireless: bcm4329: Fix GCC 4.6 warningDan Willemsen
This module has -Werror turned on, so this was causing the build to break on GCC 4.6: drivers/net/wireless/bcm4329/wl_iw.c: In function 'wl_iw_set_pmksa': drivers/net/wireless/bcm4329/wl_iw.c:5149:5: error: array subscript is above array bounds [-Werror=array-bounds] drivers/net/wireless/bcm4329/wl_iw.c:5152:5: error: array subscript is above array bounds [-Werror=array-bounds] It's a partial 'backport' of a change made to the bcmdhd driver: commit 09a8dc7361d0e603d9935ec7f736fabaa2e6dc7a net: wireless: bcmdhd: Combined P2P fix Change-Id: Ie62ad82f884c213553772ac91eaf85e17a807503 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/88694 GVS: Gerrit_Virtual_Submit Reviewed-by: Stephen Warren <swarren@nvidia.com>
2012-05-17net: wireless: sd8797: Integrate M2614311 ReleaseMohan T
Integrate Marvell SD8797 M2614311-GPL driver release Package Ver: T3T-14.69.11.p122-M2614311_A0B0-MGPL Bug 954218 Change-Id: Ic4c110cc06f45cf3f612df323e68c75edeb46e11 Signed-off-by: Mohan T <mohant@nvidia.com> Reviewed-on: http://git-master/r/100052 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-05-02net: wireless: sd8797: change wlan interface to wlan0Narayan Reddy
Change wlan interface from mlan to wlan. Bug 954218 Change-Id: I5b2b2840a4830eda908a47cc0fc59d0479a1df34 Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: http://git-master/r/98997 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
2012-04-30net: wireless: sd8797: Add Kconfig to marvel sd8797Narayan Reddy
add Konfig to marvel 8797 and some tailing space corrections. Bug 954218 Change-Id: I2885f2a74dea14ffeeb5dad65e03e217c77c5013 Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: http://git-master/r/98436 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-04-30net: wireless: sd8797: Marvell sd8797 Wi-Fi driverMohan T
Initial commit for Marvell sd8797 Wi-Fi driver Package Ver: T3T-14.69.11.p111-M2614303_A0B0-MGPL Bug 954218 Change-Id: I76fcadb5cda054d1e489c4cff77a3c461bdac742 Signed-off-by: Mohan T <mohant@nvidia.com> Reviewed-on: http://git-master/r/97305 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-04-25net: usb: raw-ip: Fix autopm / system suspend issues.Michael Hsu
Add system suspend count and avoid urb activity during system suspend. Use async autopm to avoid deadlock with system suspend. Do not allocate rx urb's constantly - allocate once upon init, free rx urb upon exit. Bug 929408, 952748, 957354 Change-Id: I4ea050fc881528cf44d2039d42891e21c9df8c4e Signed-off-by: Michael Hsu <mhsu@nvidia.com> (cherry picked from commit 8bd7322127ccf6727d949f4bc1b2a4eac4b6814e) Reviewed-on: http://git-master/r/95166 Reviewed-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-04-19drivers: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I5942ba86bd1cbe1f1bd06a7c9f51a10d83e6cabb Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92819 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-04-16net: usb: raw-ip: check invalid referenceShawn Joo(Seongho)
before point reference check valid. it prevents null point reference panic. Bug 954883 Signed-off-by: Shawn Joo(Seongho) <sjoo@nvidia.com> Reviewed-on: http://git-master/r/88781 (cherry picked from commit aac87c7d9c7cf7563bb79a29d517a6ffdba5874f) Change-Id: Ica17acb6cc2a1a7ed03f41d8b569fdb6e2098fc9 Reviewed-on: http://git-master/r/96464 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-16net: usb: raw-ip: do not free skb if TX_BUSY flag setVinayak Pane
Consume skb buffers only in success case. In fatal error case stop tx transmission instead. This prevents many retries and possible kernel crash. Bug 937178 Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/83290 (cherry picked from commit 974ffdc61f26d86744e1a7b1003117da50df9020) Change-Id: Ib2b982c0cea91d2ba5e30c04869c4f22dca7ed31 Reviewed-on: http://git-master/r/96331 Tested-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-04-13drivers: net: bcmdhd: enable CRD through kernel configNitin Bindal
Enable Custom Regulatory Domain(CRD) support, only if BCMDHD_CUSTOM_REGULATORY_DOMAIN kernel config is set. By default BCMDHD_CUSTOM_REGULATORY_DOMAIN is enabled. Bug 947472 Change-Id: I40ea3c3c531d4e309c0928db396b9cc832be43cc Signed-off-by: Nitin Bindal <nbindal@nvidia.com> Reviewed-on: http://git-master/r/88266 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-04-12usb: cdc_ether: Add new product id for the 5AE profileJonathan Roux
Bug 924863 Change-Id: I10d3036ce19f8c1f37e57998c204f3a72bd42f85 Signed-off-by: Steve Lin <stlin@nvidia.com> Reviewed-on: http://git-master/r/89718 Reviewed-by: Automatic_Commit_Validation_User
2012-03-30net:wireless:bcmdhd: Add BCM4330 chip IDMursalin Akon
Add ID of BCM4330 to supported chips. Remove ID of BCM4329 as it is not supported. Bug 956238 Change-Id: I5c9e809245161d76c3decab3e5252ce111a2a07d Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/90657 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Gerrit_Virtual_Submit Reviewed-by: Allen Martin <amartin@nvidia.com>
2012-03-29net:wireless:bcmdhd: rename bcmsdh_remove & bcmsdh_probeMursalin Akon
rename bcmsdh_remove & bcmsdh_probe to *_bcmdhd to resolve symbol conflicts with bcm4329 driver. Bug 956238 Change-Id: I750238ddf9b3a0d9ff9583a7ec456aceef28531c Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/90656 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Gerrit_Virtual_Submit Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Allen Martin <amartin@nvidia.com>
2012-03-23net: usb: raw-ip: rx / tx statisticsShawn Joo(Seongho)
Add rx, tx, error statistics feature Bug 932703 Change-Id: Ic7a6232dd3b48feff2b064fcff8f0d146b1e9902 Signed-off-by: Shawn Joo <sjoo@nvidia.com> Reviewed-on: http://git-master/r/89305 Tested-by: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-03-15net: wireless: bcmdhd: disable WLC_E_TXFAIL event.Narayan Reddy
In suspend mode WLC_E_TXFAIL event is causing autowake when the device is connected to an AP,so discarding the WLC_E_TXFAIL event initialization as per BRCM team suggestion. Bug 880970 Bug 941420 Change-Id: I5db727004873a77b8b264e7dde2525e678519c54 Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: http://git-master/r/90074 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-03-13wireless: bcmdhd: make wext and cfg80211 choicesMursalin Akon
make wext and cfg80211 integration from bcmdhd choices Bug 924521 Change-Id: Ie0c46159003985e4e4b29b2809fe881ce924dbee Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/88908 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Allen Martin <amartin@nvidia.com> Tested-by: Gerrit_Virtual_Submit
2012-03-06drivers: wireless: bcm4329: set MMC_PM_KEEP_POWER on suspendRakesh Kumar
MMC_PM_KEEP_POWER should be set before each suspend/resume cycle as mmc drivers clears MMC_PM_KEEP_POWER from pm_flags on resume. Bug 942826 Change-Id: Ie11c661bdc3450cc4e75fa7700b96aedc69d628a Signed-off-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-on: http://git-master/r/87703 Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Tested-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-03-02drvers: wireless: bcmdhd: set MMC_PM_KEEP_POWER on suspendRakesh Kumar
MMC_PM_KEEP_POWER should be set before each suspend/resume cyble as mmc drivers clears MMC_PM_KEEP_POWER from pm_flags on resume. Bug 942826 Change-Id: Ifc647b500d744a37206a4879f1e3df495bc4123a Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-on: http://git-master/r/87208 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-27net: wireless: bcmdhd: let BCMDHD_WEXT control wireless extension featuresMursalin Akon
In the driver code wireless extension features are controlled through WIRELESS_EXT config option. However, WIRELESS_EXT is turned on by the BCMDHD_WEXT option of this driver. Hence, the instead of using WIRELESS_EXT, BCMDHD_WEXT is used to control wireless extension features. Bug 924521 (cherry picked from commit 22a9df35537080fbd8a2045c574c5b3e5d08f1ab) Signed-off-by: Mursalin Akon <makon@nvidia.com> Change-Id: I68a49271fd3f3616b3beb07f5350d616f3bd9459 Reviewed-on: http://git-master/r/82878 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Allen Martin <amartin@nvidia.com>
2012-02-27net: wireless: bcmdhd: make delayed firmware loading a Kconfig optionMursalin Akon
Make delayed firmware loading a Kconfig option. Config option BCMDHD_INSMOD_NO_FW_LOAD controls this feature. Bug 924521 (cherry picked from commit 9a0219b500f677381b3d912c73a9755cb0eb1caa) Signed-off-by: Mursalin Akon <makon@nvidia.com> Change-Id: I5d48f6c7484bbf8d5d6825f4b3a08d711ff86558 Reviewed-on: http://git-master/r/82877 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Allen Martin <amartin@nvidia.com>
2012-02-27net: wireless: bcmdhd: move CSCAN enable to a Kconfig optionMursalin Akon
Move CSCAN driver compilation flag to CONFIG_BCMDHD_CSCAN_ENABLE Kconfig option; CSCAN is not supported in all userspace environments. The driver implementation of PNO_SUPPORT has a dependency on CSCAN, so make that option controlled by CONFIG_BCMDHD_CSCAN_ENABLE. This CL is inspired from http://git-master/r/#change,76730 Bug 924521 (cherry picked from commit 240664309eaba6ec56297ff7c2704176708189e7) Signed-off-by: Mursalin Akon <makon@nvidia.com> Change-Id: I3481b48750089800c0aa977f05d7512880d6d74c Reviewed-on: http://git-master/r/82876 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Allen Martin <amartin@nvidia.com>
2012-02-24driver: wireless: bcmdhd: add missed wake_unlocksNarayan Reddy
handled missed wake_unlocks in bcmdhd wlan driver Bug 924611 Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: http://git-master/r/84302 (cherry picked from commit d54a9823622acf981b782260a717f0091ea69fd7) Change-Id: I4faff6d6fbee8ac62e3d19d6b5ef27ee5a20e60b Reviewed-on: http://git-master/r/85692 Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Tested-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-23net: wireless: bcmdhd: set reference to physical deviceMursalin Akon
Set the parent field of the netdevice, which causes sysfs to create a device subdirectory under the netdevice. Without this subdirectory the user-space NetworkManager cannot manage the network device. Implemented using void * to maintain current driver implementation of segregated OS-specific implementation. This CL contains changes similar to http://git-master/r/77889 which was done for bcm4329. Bug 924521 (cherry picked from commit 8ce30af25321844cb0e89a3c23f0a6521885b6db) Signed-off-by: Mursalin Akon <makon@nvidia.com> Change-Id: I78ef9883ae1f85dbd3ad18e0ee2dece1559c4da8 Reviewed-on: http://git-master/r/82875 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Allen Martin <amartin@nvidia.com>
2012-02-10net: usb: raw-ip: Fix memory leak in raw_ipcSeshendra Gadagottu
Reuse rx urb to avoid memory leak. Detect usb interface disconnect state to avoid rx / tx urb submit on disconnected interface. Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/77969 (cherry picked from commit 343dcb023cd465a6210239cf64ebed5858223096) Change-Id: I7e49c73b47f6e1c803cd5f0cdb2e6f81bf8171d3 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82722 Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2012-02-10net: wireless: bcm4329: move CSCAN enable to a Kconfig optionEric Brower
Move CSCAN driver compilation flag to CONFIG_BCM4329_CSCAN_ENABLE Kconfig option; CSCAN is not supported in all userspace environments. The driver implementation of PNO_SUPPORT has a dependency on CSCAN, so make that option controlled by CONFIG_BCM4329_CSCAN_ENABLE. Bug 929960 Signed-off-by: Eric Brower <ebrower@nvidia.com> (cherry picked from commit af965bf9a82041353a322a3205574ff402c6ff05) Reviewed-on: http://git-master/r/77890 (cherry picked from commit 2f641aa2781afc80ed496978c55fc83aa251f727) Change-Id: Iaf9ba7c7122571c7b5c5a670e0b9330d53a8940e Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82721 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2012-02-10net: wireless: bcm4329: set reference to physical deviceEric Brower
Set the parent field of the netdevice, which causes sysfs to create a device subdirectory under the netdevice. Without this subdirectory the user-space NetworkManager cannot manage the network device. Implemented using void * to maintain current driver implementation of segregated OS-specific implementation. Bug 929960 Signed-off-by: Eric Brower <ebrower@nvidia.com> Reviewed-on: http://git-master/r/77889 (cherry picked from commit 5055320be16c36557e1ab9966ff7537500ca6d4d) Change-Id: Ia5ea298c32823f896428905a779a734140306861 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82720 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2012-02-08bonding: fix enslaving in alb mode when link downJiri Bohac
[ Upstream commit b924551bed09f61b64f21bffe241afc5526b091a ] bond_alb_init_slave() is called from bond_enslave() and sets the slave's MAC address. This is done differently for TLB and ALB modes. bond->alb_info.rlb_enabled is used to discriminate between the two modes but this flag may be uninitialized if the slave is being enslaved prior to calling bond_open() -> bond_alb_initialize() on the master. It turns out all the callers of alb_set_slave_mac_addr() pass bond->alb_info.rlb_enabled as the hw parameter. This patch cleans up the unnecessary parameter of alb_set_slave_mac_addr() and makes the function decide based on the bonding mode instead, which fixes the above problem. Reported-by: Narendra K <Narendra_K@Dell.com> Signed-off-by: Jiri Bohac <jbohac@suse.cz> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Change-Id: I83909e006b8e2dcbe35c35c80f2e236e7e4743bf Reviewed-on: http://git-master/r/79692 Reviewed-by: Automatic_Commit_Validation_User
2012-01-31net: usb: raw-ip: Defer tx urb submit to work function.Michael Hsu
Defer tx urb submit to work function to avoid problems with autopm not fully resumed. BUG 929408 Reviewed-on: http://git-master/r/77228 Change-Id: Id559d65384780067e48faee6c79134eb35d298fc Signed-off-by: Michael Hsu <mhsu@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78014 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-01-30net: usb: raw-ip: Avoid urb submit if usb interface disconnected.Michael Hsu
Do not submit rx urb if usb interface is disconnected. BUG 922418 Reviewed-on: http://git-master/r/74880 Change-Id: I42fa715307275b9d1175ef624acef6c098732261 Signed-off-by: Michael Hsu <mhsu@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77746 Reviewed-by: Automatic_Commit_Validation_User
2012-01-24Merge branch 'linux-3.1.y' into android-tegra-nv-3.1Varun Wadekar
Linux 3.1.10 Change-Id: I465d184c492e8041dd0cd90f2cb70fde17ba7118 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2012-01-20cdc_ncm: Modify NCM network interface.BH Hsieh
Adding FLAG_RMNET to change ncm net device name for Ericsson modem. Bug 901367 Change-Id: I4a029cc10a02176035319ed4ac1e7b9af349cbd1 Reviewed-on: http://git-master/r/74912 Reviewed-by: WK Tsai <wtsai@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com> Signed-off-by: BH Hsieh <bhsieh@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/76459 Reviewed-by: Automatic_Commit_Validation_User
2012-01-19Revert "Driver: net: r8169: Work around for cardhu dock (HACK)"Mursalin Akon
As we can program the Ethernet EEPROM, we do not need the NVIDIA hack anymore. This reverts commit a87ed2225d0367835c6ba0ad880f7b1049deaaa2. Bug 923832 Change-Id: I157315f65a9eb2df964dd07431ce52cc08adca6c Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/74074 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Eric Brower <ebrower@nvidia.com> Reviewed-by: Jong Kim <jongk@nvidia.com> Reviewed-by: Allen Martin <amartin@nvidia.com> Reviewed-on: http://git-master/r/75541 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2012-01-19arm: tegra: comms: Cleanup code for RAW-IP network driver.Michael Hsu
In case of failure to load RAW-IP network driver, cleanup resources (memory, usb driver registration). Reviewed-on: http://git-master/r/67183 (cherry picked from commit 0fbfd527eccdf9a690db1a77d1ec4699bbdf44a8) Change-Id: I1cdfe941a71a6d43601c77196d7a61757680ed80 Signed-off-by: Michael Hsu <mhsu@nvidia.com> Reviewed-on: http://git-master/r/74864 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Steve Lin <stlin@nvidia.com> Reviewed-on: http://git-master/r/75540 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2012-01-18rtl8192se: Fix BUG caused by failure to check skb allocationLarry Finger
commit d90db4b12bc1b9b8a787ef28550fdb767ee25a49 upstream. When downloading firmware into the device, the driver fails to check the return when allocating an skb. When the allocation fails, a BUG can be generated, as seen in https://bugzilla.redhat.com/show_bug.cgi?id=771656. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-16Merge branch 'linux-3.1.y' into android-tegra-nv-3.1Varun Wadekar
Linux 3.1.9 Conflicts: Makefile Change-Id: I22227ab33ba7ddaba8e6fe049393c58a83d73648 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2012-01-12bonding: fix error handling if slave is busy (v2)stephen hemminger
commit f7d9821a6a9c83450ac35e76d3709e32fd38b76f upstream. If slave device already has a receive handler registered, then the error unwind of bonding device enslave function is broken. The following will leave a pointer to freed memory in the slave device list, causing a later kernel panic. # modprobe dummy # ip li add dummy0-1 link dummy0 type macvlan # modprobe bonding # echo +dummy0 >/sys/class/net/bond0/bonding/slaves The fix is to detach the slave (which removes it from the list) in the unwind path. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Reviewed-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-12asix: fix infinite loop in rx_fixup()Aurelien Jacobs
commit 6c15d74defd38e7e7f8805392578b7a1d508097e upstream. At this point if skb->len happens to be 2, the subsequant skb_pull(skb, 4) call won't work and the skb->len won't be decreased and won't ever reach 0, resulting in an infinite loop. With an ASIX 88772 under heavy load, without this patch, rx_fixup() reaches an infinite loop in less than a minute. With this patch applied, no infinite loop even after hours of heavy load. Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
2012-01-12asix: new device idAurelien Jacobs
commit e8303a3b2196272c3eb994d0fd1a189a958a2bdd upstream. Adds the device id needed for the USB Ethernet Adapter delivered by ASUS with their Zenbook. Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Acked-by: Grant Grundler <grundler@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>