- 29 10月, 2005 22 次提交
-
-
由 Eugene Surovegin 提交于
This patch replaces current PowerPC 4xx EMAC driver with new, re-written from the scratch version. This patch is quite big (~234K) because there is virtualy 0% of common code between old and new version. New driver uses NAPI, it solves stability problems under heavy packet load and low memory, corrects chip register access and fixes numerous small bugs I don't even remember now. This patch has been tested on all supported in 2.6 PPC 4xx boards. It's been used in production for almost a year now on custom 4xx hardware. PPC32 specific parts are already upstream. Patch was acked by the current EMAC driver maintainer (Matt Porter). I will be maintaining this new version. Signed-off-by: NEugene Surovegin <ebs@ebshome.net> -- Kconfig | 72 ibm_emac/Makefile | 13 ibm_emac/ibm_emac.h | 418 +++-- ibm_emac/ibm_emac_core.c | 3414 ++++++++++++++++++++++++---------------------- ibm_emac/ibm_emac_core.h | 313 ++-- ibm_emac/ibm_emac_debug.c | 377 ++--- ibm_emac/ibm_emac_debug.h | 63 ibm_emac/ibm_emac_mal.c | 674 +++++---- ibm_emac/ibm_emac_mal.h | 336 +++- ibm_emac/ibm_emac_phy.c | 335 ++-- ibm_emac/ibm_emac_phy.h | 105 - ibm_emac/ibm_emac_rgmii.c | 201 ++ ibm_emac/ibm_emac_rgmii.h | 68 ibm_emac/ibm_emac_tah.c | 111 + ibm_emac/ibm_emac_tah.h | 96 - ibm_emac/ibm_emac_zmii.c | 255 +++ ibm_emac/ibm_emac_zmii.h | 114 - 17 files changed, 4114 insertions(+), 2851 deletions(-) Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Philippe De Muyter 提交于
Under heavy PCI bus load, ports of the DFE-580TX 4-ethernet port board stop working, with currently no other cure than a powercycle. Here is a tested fix. By the way, I also fixed some references and attribution. Signed-off-by: NPhilippe De Muyter <phdm@macqel.be> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Andrew Morton 提交于
-
由 Pantelis Antoniou 提交于
-
由 Alexey Dobriyan 提交于
Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Deepak Saxena 提交于
IXDP2x01 systems can be built without PCI network cards, so we should not require NET_PCI to build CS89x0 on these systems. Signed-off-by: NDeepak Saxena <dsaxena@plexity.net> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Nicolas Pitre 提交于
If the interface is not used right away after being probed it wastes power needlessly. Noted by Holger Schurig. Signed-off-by: NNicolas Pitre <nico@cam.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Aurelien Jarno 提交于
Here is a patch that changes the way the MAC filter is computed for the multicast addresses. The computation is taken from the SiS GPL driver. This patch is necessary to get IPv6 working. Signed-off-by: NAurelien Jarno <aurelien@aurel32.net> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Matthew Wilcox 提交于
Looks like someone used the MII constants instead of the ethtool constants. Signed-off-by: NMatthew Wilcox <matthew@wil.cx> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Akinobu Mita 提交于
The documentation about s2io is available at Documentation/networking/s2io.txt. Signed-off-by: NAkinobu Mita <mita@miraclelinux.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Roger While 提交于
prism54 is leaking information when passing transmits to the firmware. There is no requirement to adjust the length to >= ETH_ZLEN. Just pass the skb length (after possible adjustment). Signed-off-by: NRoger While <simrw@sim-basis.de> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Komuro 提交于
Some older DL10019 based cards need to setup the auto-negotiation-advertisement register to advertise 100Full,100Half,10Full and 10Half. Signed-off-by: <komurojun-mbn@nifty.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Santiago Leon 提交于
This patch fixes a bug that happens when the hypervisor can't add a buffer. The old code wrote IBM_VETH_INVALID_MAP into the free_map array, so next time the index was used, a ibmveth_assert() caught it and called BUG(). The patch writes the right value into the free_map array so that the index can be reused. Signed-off-by: NSantiago Leon <santil@us.ibm.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Santiago Leon 提交于
This patch adds the lockless TX feature to the ibmveth driver. The hypervisor has its own locking so the only change that is necessary is to protect the statistics counters. Signed-off-by: NSantiago Leon <santil@us.ibm.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Santiago Leon 提交于
This patch removes the allocation of RX skb's buffers from a workqueue to be called directly at RX processing time. This change was suggested by Dave Miller when the driver was starving the RX buffers and deadlocking under heavy traffic: > Allocating RX SKBs via tasklet is, IMHO, the worst way to > do it. It is no surprise that there are starvation cases. > > If tasklets or work queues get delayed in any way, you lose, > and it's very easy for a card to catch up with the driver RX'ing > packets very fast, no matter how aggressive you make the > replenishing. By the time you detect that you need to be > "more aggressive" it is already too late. > The only pseudo-reliable way is to allocate at RX processing time. > Signed-off-by: NSantiago Leon <santil@us.ibm.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Santiago Leon 提交于
This patch changes the way the ibmveth driver handles the receive buffers. The old code mallocs and maps all the buffers in the pools regardless of MTU size and it also limits the number of buffer pools to three. This patch makes the driver malloc and map the buffers necessary to support the current MTU. It also changes the hardcoded names of the buffer pool number, size, and elements to arrays to make it easier to change (with the hope of making them runtime parameters in the future). Signed-off-by: NSantiago Leon <santil@us.ibm.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Santiago Leon 提交于
This patch updates dev->trans_start and dev->last_rx so that the ibmveth driver can be used with the ARP monitor in the bonding driver. Signed-off-by: NSantiago Leon <santil@us.ibm.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Michael Chan 提交于
Update version and reldate and add more sanity checking to tg3_set_settings(). Signed-off-by: NGary Zambrano <zambrano@broadcom.com> Signed-off-by: NMichael Chan <mchan@broadcom.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Michael Chan 提交于
Change the ASF heart beat to 5 seconds for faster detection of system crash. The driver sends the heartbeat every 2 seconds and the ASF firmware will timeout and reset the device if no heartbeat is received after 5 seconds. The old scheme of 2 minutes is ineffective. tg3_write_mem_fast() is added to speed up the IO to send the heartbeat. When no workaround is needed, it will use direct MMIO to memory space to write to memory. Signed-off-by: NMichael Chan <mchan@broadcom.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Michael Chan 提交于
Add complete support for 5714/5715. These chips are very similar to 5780 so the changes are very trivial. A TG3_FLG2_5780_CLASS flag is added to identify these chips. Signed-off-by: NMichael Chan <mchan@broadcom.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Linus Torvalds 提交于
-
由 Linus Torvalds 提交于
-
- 28 10月, 2005 18 次提交
-
-
git://brick.kernel.dk/data/git/linux-2.6-block由 Linus Torvalds 提交于
Manual fixup for trivial "gfp_t" changes.
-
-
-
由 Linus Torvalds 提交于
-
由 Al Viro 提交于
zone handling, mapping->flags handling Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-