- 24 Feb, 2004 40 commits
-
-
Jeff Garzik authored
Some machines still appear to lock up under MMIO mode, so default to PIO.
-
Jeff Garzik authored
now that driver uses request_firmware()
-
Jochen Friedrich authored
Hi Jeff, the last one makes tms380tr use the kernel firmware loader instead of linking some propriatary code into the kernel, probably violating the GPL. drivers/net/tokenring/tms380tr_microcode.h can go after this patch has been applied. --jochen tms380tr.c | 34 ++++++++++++++++++++++++++++++---- 1 files changed, 30 insertions(+), 4 deletions(-)
-
Jochen Friedrich authored
Hi Jeff, this one removes the internal queue of tms380tr. It was racy, anyways. --jochen tms380tr.c | 178 +++++++++++++++++++++++-------------------------------------- tms380tr.h | 4 - 2 files changed, 70 insertions(+), 112 deletions(-)
-
Jochen Friedrich authored
Hi Jeff, this fixes some problems partly introduced in the latest token ring update: - mix of alloc_trdev(0) and alloc_trdev(sizeof(struct net_local)) confused memory management. - initialization of proteon and sknet cards was broken. - proteon_close() and skisa_close() deleted. --jochen abyss.c | 2 - madgemc.c | 2 - proteon.c | 91 ++++++++++++++++++++++++------------------------------- skisa.c | 100 +++++++++++++++++++++++++------------------------------------ tms380tr.c | 41 +++++++++---------------- tmspci.c | 2 - 6 files changed, 100 insertions(+), 138 deletions(-)
-
Alexander Viro authored
* switched to sane allocation * fixes race on removal - we unregistered too late * contrary to the comment, device had no destructor, so removal had leaked - unregister_netdev() doesn't trigger freeing in that driver. * fixes freeing (kfree -> free_netdev) Otherwise the same story as with previous patch - irda-related part of NE* that got lost.
-
Jeff Garzik authored
into redhat.com:/spare/repo/net-drivers-2.5
-
Jeff Garzik authored
into redhat.com:/spare/repo/net-drivers-2.5
-
Jeff Garzik authored
into redhat.com:/spare/repo/net-drivers-2.5
-
Alexander Viro authored
* fixes leaks on failed init * switches to sane allocation * fixes netdev freeing (kfree -> free_netdev) * fixes the idiocy with ->init() (from registger_netdev()) calling unregister_netdevice() in case of failure - before we got anywhere past the very beginning of register_netdev(). That's a part of NE* series that failed through the cracks (there were pending irda patches, so that had been postponed, irda patches either hadn't materialized in two months or hadn't touched that driver at all, the latter being more likely). Please, apply.
-
Stefan Rompf authored
-
Stefan Rompf authored
--Boundary-00=_EQjNA7alc3Y2zQJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, > Please resend patches that may be applied with "patch -p1", > not "patch -p0". ok., here's the first, suspend/resume --Boundary-00=_EQjNA7alc3Y2zQJ Content-Type: text/x-diff; charset="iso-8859-1"; name="xircom_tulip_cb_pm.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xircom_tulip_cb_pm.diff"
-
Andrew Morton authored
From: Geert Uytterhoeven <geert@linux-m68k.org> Hydra Ethernet: Convert to the new driver model
-
Andrew Morton authored
From: Geert Uytterhoeven <geert@linux-m68k.org> Ariadne Ethernet: Convert to the new driver model
-
Andrew Morton authored
From: Geert Uytterhoeven <geert@linux-m68k.org> A2065 Ethernet: Convert to the new driver model
-
Andrew Morton authored
From: Geert Uytterhoeven <geert@linux-m68k.org> Atari Pamsnet Ethernet: Kill warning
-
Andrew Morton authored
From: Geert Uytterhoeven <geert@linux-m68k.org> sun3lance updates from Sam Creasey: - Pass the correct flags to request_irq() - Add debug code for transmitting packets
-
Stephen Hemminger authored
Here is a rediff'd version of the patch to fix shared irq handling in pcnet_cs and generic 8390 drivers.
-
Stephen Hemminger authored
Error path (EISA) probe was using device before set. # This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1567 -> 1.1568 # drivers/net/dgrs.c 1.23 -> 1.24 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 04/02/19 shemminger@osdl.org 1.1568 # fix bug in eisa error path. # -------------------------------------------- #
-
Scott Feldman authored
* define dump stats complete constant * add mwb() to keep order straight with HW when appending new resources to Rx and Tx queues * increment stats for rx_dropped and rx_over_errors
-
Scott Feldman authored
* driver not handling failures of register_netdev [Stephen Hemminger (shemminger@osdl.org)]
-
Scott Feldman authored
* For half duplex, the IEEE says collision retry count should be 15 not 16. Would cause really slow transfers on some hubs (i.e NetGear DS108).
-
Scott Feldman authored
* msec_delay macro wouldn't delay at all if x < 10, and wouldn't delay enough for x = 10. Not a concern for 2.6 (HZ=1000) but is for 2.4 (HZ=100).
-
Scott Feldman authored
* Multiple reports of system lock-ups with the CSA patch, so let's disable fix for now until we can understand why this is causing the hangs. It was first thought that only pre- productions systems would hang, but that's not true.
-
Scott Feldman authored
* Disable TSO as default setting until some hangs/resets caused with TSO enabled are root-caused. TSO can still be manually enabled using ethtool -K.
-
Scott Feldman authored
* Bug fix: flow control high/low watermark settings not within Rx FIFO range: math error.
-
Mike Phillips authored
Small patch to clean up 3c359_micrcode.h, no other drivers in the kernel come anywhere near the file and the #if is superflous. Mike Phillips
-
Don Fry authored
Arrgh. I sent the wrong diff file. This one fixes the compile error I introduced ;-(
-
Don Fry authored
Last change for a while. This modifies the whitespace only. consistent indentation, deletes trailing tabs, trailing spaces, etc.
-
Don Fry authored
This adds the ability to do a local loopback test for the adapter. This source was submitted by James Lewis <jklewis@us.ibm.com>. Tested on PPC and IA32 systems.
-
Don Fry authored
This patch adds support for PCI hot remove. Tested on PPC64 boxes. The driver has also been checked to comply with PCMCIA/cardbus remove requirements, but as I don't have a PCMCIA card, it is untested. If a PCMCIA card is removed, reads will return FFFF. The FFFF will cause all while loops to exit.
-
Don Fry authored
pcnet32 devices which do not contain an mii respond incorrectly to ethtool commands. Reported by VANDROVE@vc.cvut.cz and Thomas Munck Steenholdt.
-
Don Fry authored
If there are errors in the open routine, the driver does not correctly clean up and free resources. This also removes an unnecessary netif_wake_queue, correctly supports the debug parameter, and updates the version and date.
-
Don Fry authored
This changes the driver to use ethtool_ops to be more modular. There is a net delta of just a one line between the two implementations, but permission checking and copying to/from user space, etc. is all done in a consistent manner by ethtool.c
-
Don Fry authored
This patch converts the driver to use netif_msg_* for printing messages. Tested IA32.
-
Don Fry authored
This patch was originally sent by Jon Mason on Sat Jan 31. "I created a patch that allows pcnet32 adapters sold in IBM RS/6000 systems to be recognized in non-ppc computers. The problem is that the Vendor ID of this adapter is incorrect. There is a ppc specific workaround to get it working on that architecture (checkout http://lxr.linux.no/source/arch/ppc/kernel/pci.c?a=ppc#L87 for the workaround), but it obviously won't fix the problem in non-ppc architectures."
-
Jeff Garzik authored
per-network-interface message logging standards for net drivers. Written by Donald Becker.
-
Randy Dunlap authored
Domen Puncer schrieb: > > Just some suggestions... > >> #define ELEMENTS_OF(X) (sizeof(X) / sizeof((X)[0])) > > Remove this define and s/ELEMENTS_OF/ARRAY_SIZE/g > There are more occurances of redundant ARRAY_SIZEs in the kernel. I will keep that in mind! > > >>@@ -847,7 +845,7 @@ >> static int allocate_buffers(struct strip *strip_info, int mtu) >> { >> struct net_device *dev = strip_info->dev; >>- int sx_size = MAX(STRIP_ENCAP_SIZE(MAX_RECV_MTU), 4096); >>+ int sx_size = max((int)STRIP_ENCAP_SIZE(MAX_RECV_MTU), 4096); > > > max_t? Changed that to max_t and min_t. A newbie queston: What should when be preferred and why?
-
Randy Dunlap authored
When !CONFIG_PROC_FS, I'm getting this warning: drivers/net/wireless/strip.c:1169: warning: `strip_seq_fops' defined but not used
-
Randy Dunlap authored
-