- 11 8月, 2005 16 次提交
-
-
由 Jeff Garzik 提交于
- unexport symbols never used outside of home module - remove dead code - remove CONFIG_PHYCONTROL, make it unconditionally enabled
-
由 Jeff Garzik 提交于
Includes fixes for problems noted by Adrian Bunk, Andrew Morton, and one other person lost in the annals of history (and email folders).
-
Hi, This is a patch to incorporate comments from earlier 12 patches. It also fixes a few issues we found during this time. Following is a list of changes in this patch. Item 1 incorporates earlier comments. Issues addressed in items 2 to 4 were discovered recently. 1. wmb() call in s2io_xmit() replaced with mmiowb(). 2. The dtx_control register was earlier programmed incorrectly for Xframe II adapter. 3. As suggested by hardware team, after a reset, in case of Xframe II adapter, we clear certain spurious errors by clearing PCI-X ECC status register, "detected parity error" bit in PCI_STATUS register and PCI_STATUS bit in txpic_int register. 4. On IBM PPC platforms, we found that in the Rx buffer replenish function, two memory writes(one to the the descriptor length and another to the ownership) were getting reordered. This was causing the adapter to see the ownership transfered to it before the length was updated. One solution was to add a wmb() but since this would turnout expensive on some platforms if called for every descriptor, we set the ownership bit and other fields of '2' to 'N' Rx descriptors followed by a wmb() and then set the ownership of first descriptor ('1'). Here the value 'N' is configurable by making it a module loadable parameter (rxsync_frequency). (NOTE: This parameter is a power of 2). 5. Bumped up the driver version no. to 2.0.2.1 Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, The last patch in this series fixes the following issues found during testing. 1. Ensure we don't pass zero sized buffers to the card(which can lockup) 2. Restore the PCI-X parameters(in case of Xframe I adapter) after a reset. 3. Make sure total size of all FIFOs does not exceed 8192. Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, The below patch implements a new "Link state change handling" scheme supported by the Xframe II adapter. It also bumps up the driver version to 2.0.2.0. Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, This is a patch to provide bimodal interrupt moderation support for Xframe II adapter. Basically, in this moderation scheme, the adapter raises a traffic interrupt if the no. of packets transmitted and/or received reaches a programmable threshold. Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, This patch provides basic support for the Xframe II adapter. Includes the following changes: 1. New values to program XAUI interface. 2. Print the PCI/PCI-X mode(bus frequency, width). 3. Remove EOI from reset during intialization. 4. Enable all 8 PCCs if Xframe II adapter. 5. Programs the RLDRAM size depending on the device. (Note: RLDRAM size on XFARME-I is 64Mb whereas on XFRAME-II it's 32 Mb). 6. Enable extended(64-bit) statistics counters. 7. Program timer interrupt duration based on PCI/PCI-X clock speed. 8. Not required to save/restore PCI config space before/after reset. Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, Patch below adds VLAN support to the driver. Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, This patch implements the slow-path handling functions(link state change, hardware errors) as a timer. It is not handled in interrupt handler as was done previously. Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, Patch below supports MTU change on-the-fly(without bringing interface down) Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, This patch relates to mostly performance related changes. 1. Fixed incorrect computation of PANIC level in rx_buffer_level(). 2. Removed unnecessary PIOs(read/write of tx_traffic_int and rx_traffic_int) from interrupt handler and removed read of general_int_status register from xmit routine. 3. Enable two-buffer mode(for Rx path) automatically for SGI systems. This improves Rx performance dramatically on SGI systems. Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, This patch fixes certain memory leaks discovered in free_tx_buffers() and rx_osm_handler() Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, Below patch includes fixes for few purely software bugs identified since last release. 1. Keep track and display(as part of ethtool command output) the no. of single-bit and double-bit ECC errors. 2. Handle race condition between intr handler and "interface down" routine. 3. Initial link state setting modified so that the link state displayed after "interface Up" is correct. 4. Fix for "Incorrect Tx packet count when TSO is enabled". 5. Disable periodic DMA of statistics and schedule one-shot DMA only when required. Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, Below patch addresses few h/w specific issues. 1. Check for additional ownership bit on Rx path before starting Rx processing. 2. Enable only 4 PCCs(Per Context Controller) for Xframe I revisions less than 4. 3. Program Rx and Tx round robin registers depending on no. of rings/FIFOs. 4. Tx continous interrupts is now a loadable parameter. 5. Reset the card if we get double-bit ECC errors. 6. A soft reset of XGXS being done to force a link state change has been eliminated. 7. After a reset, clear "parity error detected" bit, PCI-X ECC status register, and PCI_STATUS bit in tx_pic_int register. 8. The error in the disabling allmulticast implementation has been rectified. 9. Leave the PCI-X parameters MMRBC, OST etc. at their BIOS/system defaults. Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
Hi, We are submitting a series of 13 patches to support our Xframe I and Xframe II line of products. The patches can be categorized as follows: Patches 1-8 : Changes applicable to both Xframe I and II Patches 9-11: Xframe II specific features Patch 12: Addresses issues found during testing cycle. Patch 13: Incorpoates mostly the review comments from community and some last moment bug fixes. Please review the patches and let us know your comments. Starting with patch 1 below. This patch involves cosmetic changes(tabs and indentation, regrouping of transmit and receive data structures, typecasting, code cleanup). Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: NRaghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Ralf Baechle DL5RB 提交于
Fix the p-persistence CSMA algorithm which in simplex mode was starting with a slottime delay before doing anything else as if there was carrier collision resulting in bad performance on simplex links. Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org> Acked-by: NJeff Garzik <jgarzik@pobox.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
- 06 8月, 2005 1 次提交
-
-
由 David S. Miller 提交于
Else on SMP systems it is possible for hotplug to execute, invoke tg3_open(), and end up loading the uninitialized PCI register save area into the card. Signed-off-by: NDavid S. Miller <davem@davemloft.net>
-
- 02 8月, 2005 2 次提交
-
-
由 Denis Vlasenko 提交于
cs89x0 talks a lot at boot. Seems like debug leftover. This patch downgrades printks to KERN_DEBUG. While we're at it, make these messages a bit less obscure. Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Andrew Morton 提交于
Make it compile with CONFIG_PM=n Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
- 01 8月, 2005 6 次提交
-
-
由 Manfred Spraul 提交于
This is a multi-part message in MIME format. Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Manfred Spraul 提交于
This is a multi-part message in MIME format. Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Manfred Spraul 提交于
This is a multi-part message in MIME format. Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Manfred Spraul 提交于
This is a multi-part message in MIME format. Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Manfred Spraul 提交于
This is a multi-part message in MIME format. Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Manfred Spraul 提交于
This is a multi-part message in MIME format. Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
- 31 7月, 2005 15 次提交
-
-
由 Ralf Baechle 提交于
Drivers really only work well in SMP if they actually can be selected. This is a leftover from the time when the 6pack drive only used to be a bitrotten variant of the slip driver. Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org> Kconfig | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Chuck Ebbert 提交于
Whitespace cleanup for loopback driver. Hopefully it fixes the last few annoyances. Signed-off-by: NChuck Ebbert <76306.1226@compuserve.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Chuck Ebbert 提交于
This patch slightly optimizes the loopback driver's stats update. Saves two loads, one add and one increment per packet sent. Signed-off-by: NChuck Ebbert <76306.1226@compuserve.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Chuck Ebbert 提交于
This patch #ifdefs the TSO code in the loopback driver. Saves ~800 bytes of text on i386 and avoids a conditional in the fast path. Signed-off-by: NChuck Ebbert <76306.1226@compuserve.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Tony Lindgren 提交于
--ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Jeff, Here's a little patch fixing a typo in smc91x.h. Regards, Tony --ReaqsoxgOBHFXBhH Content-Type: text/x-chdr; charset=us-ascii Content-Disposition: inline; filename="patch-fix-typo-smc91x.h" Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Victor Fusco 提交于
Use module_param() instead of the old MODULE_PARM() Signed-off-by: NVictor Fusco <victor@cetuc.puc-rio.br> Signed-off-by: NDomen Puncer <domen@coderock.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Stephen Hemminger 提交于
Yukon-Lite chipset needs workaround for revision 7 (or later). Without this patch, chip gets stuck in low power mode and never boots. Newer SysKonnect vendor code already had same patch. Related bug in skge is http://bugs.gentoo.org/87822 Chris, please add for 2.6.12.2 Signed-off-by: NStephen Hemminger <shemminger@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Marcelo Feitoza Parisi 提交于
Use of time_before() macro, defined at linux/jiffies.h, which deal with wrapping correctly and are nicer to read. Signed-off-by: NMarcelo Feitoza Parisi <marcelo@feitoza.com.br> Signed-off-by: NDomen Puncer <domen@coderock.org> Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org> baycom_epp.c | 3 ++- baycom_par.c | 3 ++- baycom_ser_fdx.c | 3 ++- baycom_ser_hdx.c | 3 ++- mkiss.c | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Stephen Hemminger 提交于
Increase driver version to 0.8 Signed-off-by: NStephen Hemminger <shemminger@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Stephen Hemminger 提交于
Cleanup code that is used to toggle LED's. Since we get called from ethtool, can use that thread rather than setting up a timer. Signed-off-by: NStephen Hemminger <shemminger@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Stephen Hemminger 提交于
During autonegotiation set PHY interrupt mask to ignore bogus speed change interrupts. Signed-off-by: NStephen Hemminger <shemminger@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Stephen Hemminger 提交于
The code to clear fifo errors was incorrect and sending garbage to the external phy. Removed the no longer used inline's funcs. Signed-off-by: NStephen Hemminger <shemminger@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Stephen Hemminger 提交于
Minor whitespace cleanups. Signed-off-by: NStephen Hemminger <shemminger@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Stephen Hemminger 提交于
The check for Yukon lite changes was restricting itself to rev A3. It turns out that these changes are also true on A4 and later. Signed-off-by: NStephen Hemminger <shemminger@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Stephen Hemminger 提交于
Cleanup the phy_lock deadlock because of relocking in the nway_reset path. Reported by Francois Romieu. Also, don't need to do irqsave/restore for blink, just excluding bh is good enough. Signed-off-by: NStephen Hemminger <shemminger@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-