- 04 4月, 2009 40 次提交
-
-
由 Mithlesh Thukral 提交于
Remove the deprecated microcode which was for Rev A. Now on the driver will use Rev B microcode only. Signed-off-by: NMichael Miles <mmiles@alacritech.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
This patch makes the Sahara SXG driver use Rev B firmware instead of Rev A. The firmware version is 1.71 Signed-off-by: NMichael Miles <mmiles@alacritech.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
This patch adds the new firmware files required by Rev B cards. Signed-off-by: NMichael Miles <mmiles@alacritech.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* Fix a memory leak if allocation of skb fails in sxg_fill_descriptor_block. In sxg_fill_descriptor_block(), if allocation of skb failed in loop, we just came out shouting. This rollbacks all the successful operation before skb allocation fails and then returns. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* This patch adds support for offloading checksum to hardware. IP checksum have been tested for IPv4 and IPv6. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Randy Dunlap 提交于
Fix staging/sxg napi interface calls: drivers/staging/sxg/sxg.c:1271: error: implicit declaration of function 'netif_rx_schedule_prep' linux-next-20090209/drivers/staging/sxg/sxg.c:1272: error: implicit declaration of function '__netif_rx_schedule' drivers/staging/sxg/sxg.c:1325: error: implicit declaration of function 'netif_rx_complete' Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com> Cc: Mithlesh Thukral <mithlesh@linsyssoft.com> Cc: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
Make Sahara SXG driver use MSI-X interrupts instead of line based interrupts if possible. In case of problems in getting MSI-X vectors or MSI-X not being supported, driver will fall back to use previous line based interrupts. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
Fix the locking issue of locks in transmit code path. There was an unnecessary check for interrupt context in transmit code path. Removed that. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
This patch adds Jumbo frame support to Sahara's SXG Driver. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
Miscellaneous cleanups. * Removed unwanted spaces/lines. * Removed unused functions. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* Add NAPI support for SXG driver for Alacritech's 10Gbe products. The driver will now work in NAPI mode by default. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* Add multicast support for SXG driver for Alacritech's 10Gbe products. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Cc: Michael Miles <mmiles@alacritech.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
This compiles out some functions that are not being used to keep the build clean so that we can see the "real" warnings and errors. Cc: Mithlesh Thukral <mithlesh@linsyssoft.com> Cc: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
These variables are never used, so #ifdef them away. This should probably be fixed up properly from someone who knows why we are even including these files in the first place, when they do not seem to be needed at all. Cc: Mithlesh Thukral <mithlesh@linsyssoft.com> Cc: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
They are not needed here and only cause build warnings and bloat the object file. Cc: Mithlesh Thukral <mithlesh@linsyssoft.com> Cc: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
This fixes some build problems with the ethtool support recently added for the sxg driver. This is a very good example of why you need to check the build for warnings and then fix them... Cc: Mithlesh Thukral <mithlesh@linsyssoft.com> Cc: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* Fix problem of crash on 50MB machine. * Fixed dma_addr_t bug, which resolves issues on x86_32 bit machines. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* Add new firmware and remove all firmware file. * Add a switch to load either debug or free firmware. Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
Misc. cleanups in the driver. * Remove debugging code and variables. * Fix compile time warnings. * Remove debugging comments. * Start cleanup of sxg_stats structure. This structure will eventually become very small Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* Fix locking related issues like taking locks at right level. * Convert some variables to atomic, to prevent taking them while incrementing or decrementing them. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* Cleanup in allocation of SXG_SGLs. * Locking issues related to SglQLock. * XmtCmd and XmtZeroLock consistency fixes. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* Add Ethtool framework to driver * Makefile changes to fix build redundancy. * Fix ups to error code paths in receieve buffer allocation as well as receive code path. * Read MAC address from FLASH/EEPROM Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* Cleanup in recevive buffer structure * Drop receive data buffer as its not needed with use of skbs * Fix error code paths in receive skb failures Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
Fix up the indentation to Linux style. There was some indentation which was not as per Linux style specially related to 80 char lines. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
This patch cleans up the comment. Converts the comments to C89 style. Fixes comment related TODO item. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
This patch removes all typedefs in the code. These were the typedefs which are still present in driver in staging tree after the cleanup patches. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mithlesh Thukral 提交于
* This patch introduces the new SXG_SGL design. * Related changes to sxg_scatter_gather structure. * Introduced PSXG_X64_SGL changes which are x64 friendly * Setting the MAC HEADER pointer properly in skb before giving to higher layers. Signed-off-by: NMichael Miles <mmiles@alacritech.com> Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NChristopher Harrer <charrer@alacritech.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
Lots of spaces->tabs cleanups for slichw.h It's much more sane and "Linux-like" now. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
Move the ASSERT macro into slicoss.c as that's all that is currently being used. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
No one uses it, so drop it. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
Use the dev_err() call instead, it is the standard and provides much more information. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
They aren't needed or used anymore. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
It was always enabled, so just always use it. Cleaned up the ioctl code a bit as well to make it more readable. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
It's not being used for anything, so delete it and all instances of it. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
It's quite wierd, and doesn't even do anything on x86_64, so just delete it. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
It was always enabled, so just enable it properly. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
It was always enabled, so just enable it and take out the one place it was being used. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
It was always disabled, so just remove it and the 2 lines of code it was protecting. Also remove SLIC_POWER_MANAGEMENT which was also disabled, yet was never used. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
Added bonus is this fixes a compiler warning on 4.3.3 Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
It was always enabled, so just turn on the code that was being always enabled, and remove the #define. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-