- 30 10月, 2005 8 次提交
-
-
由 Pantelis Antoniou 提交于
The following patches fixes a bug with erroneous calling of dma_unmap_single. It never triggered because on normal ppc32 the calls is a NOP. Out of tree drivers need this fix however. Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Eugene Surovegin 提交于
* MII registers must override strap pins * disable "echo" mode to make 10/HDX work (Franz Sirl) Signed-off-by: NEugene Surovegin <ebs@ebshome.net> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Eugene Surovegin 提交于
Add PowerPC 440GR support Signed-off-by: NStefan Roese <sr@denx.de> Signed-off-by: NEugene Surovegin <ebs@ebshome.net> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Eugene Surovegin 提交于
For some reason, the hardware designers made the polarity of one bit in the 440SPe's PHY interface register the opposite of all other PPC 440 chips. To handle this, abstract our access to this bit and do the right thing based on the configured CPU type. Signed-off-by: NRoland Dreier <rolandd@cisco.com> Signed-off-by: NEugene Surovegin <ebs@ebshome.net> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Patrick McHardy 提交于
The dev_kfree_skb in islpci_eth_transmit happens while irqs are still disabled, so either dev_kfree_skb_irq needs to be used or the skb needs to be freed after irqs have been enabled again. This patch should fix it. Signed-off-by: NPatrick McHardy <kaber@trash.net> Signed-off-by: NDaniel Drake <dsd@gentoo.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Tobias Klauser 提交于
This one from my DMA_{32,64}BIT_MASK series did not seem to make it through to upstream. Use the DMA_{32,64}BIT_MASK constants from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() This patch includes dma-mapping.h explicitly because it caused errors on some architectures otherwise. See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: NTobias Klauser <tklauser@nuerscht.ch> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
- 29 10月, 2005 32 次提交
-
-
由 Ashutosh Naik 提交于
drivers/net/e1000/e1000_main.c:3645: warning: `e1000_suspend' defined but not used Signed-off-by: NAshutosh Naik <ashutosh_naik@adaptec.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Alan Cox 提交于
The latest kernel added a pretty ugly fix for the orinoco etherleak bug which contains bogus skb->len checks already done by the caller and causes copies of all odd sized frames (which are quite common) While the skb->len check should be ripped out the other fix is harder to do properly so I'm proposing for this the -mm tree only until next 2.6.x so that it gets tested. Instead of copying buffers around blindly this code implements a padding aware version of the hermes buffer writing function which does padding as the buffer is loaded and thus more cleanly and without bogus 1.5K copies. Signed-off-by: NAlan Cox <alan@redhat.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Andrew Morton 提交于
Cc: Alan Cox <alan@redhat.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Ravikiran G Thirumalai 提交于
Allocate node local tx and rx descriptors for the e1000 driver Signed-off-by: NRavikiran Thirumalai <kiran@scalex86.org> Cc: Christoph Lameter <clameter@engr.sgi.com> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Pavel Machek 提交于
Fix suspend/resume on b44 by freeing/reacquiring irq. Otherwise it hangs on resume. Signed-off-by: NPavel Machek <pavel@suse.cz> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Florin Malita 提交于
num_params is unused (and unusable in this form). Signed-off-by: NFlorin Malita <fmalita@gmail.com> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Martin J. Bligh 提交于
e1000_suspend is only used under #ifdef CONFIG_PM. Move the declaration of it to be the same way, just like e1000_resume, otherwise gcc whines on compile. I offer as evidence: static struct pci_driver e1000_driver = { .name = e1000_driver_name, .id_table = e1000_pci_tbl, .probe = e1000_probe, .remove = __devexit_p(e1000_remove), /* Power Managment Hooks */ #ifdef CONFIG_PM .suspend = e1000_suspend, .resume = e1000_resume #endif }; Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Panagiotis Issaris 提交于
The ipw2200 driver code in current GIT contains a kmalloc() followed by a memset() without handling a possible memory allocation failure. Signed-off-by: NPanagiotis Issaris <panagiotis.issaris@gmail.com> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Komuro 提交于
pci_set_master is unnecessary. Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Jesper Juhl 提交于
-
由 Vasily Averin 提交于
1) Forgotten counter incrementation in sis900_rx() in case it doesn't get memory for skb, that leads to whole interface failure. Problem is accompanied with messages: eth0: Memory squeeze,deferring packet. eth0: NULL pointer encountered in Rx ring, skipping 2) If counter cur_rx overflows and there'll be temporary memory problems buffer can't be recreated later, when memory IS available. 3) Limit the work in handler to prevent the endless packets processing if new packets are generated faster then handled. Signed-off-by: NKonstantin Khorenko <khorenko@sw.ru> Signed-off-by: NVasily Averin <vvs@sw.ru> Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
-
由 Jeff Garzik 提交于
removing executable bits.
-
由 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>
-