- 16 Oct, 2003 1 commit
-
-
Mike Christie authored
If an upper layer driver is not loaded, and you write to a device's rescan attribute you will get an oops. The attached patch fixes this by testing if the device's driver variable is set before accessing it.
-
- 14 Oct, 2003 20 commits
-
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Pekka Pietikäinen authored
Resending the patch I sent some time ago for b44.c that nukes the 2.4 compatibility cruft as well. I'll do one for 2.4.23pre6 ASAP, hopefully being able sync the driver fully with the one in 2.6 (free_netdev() etc.).
-
Manfred Spraul authored
Too much copy&paste in a call to pci_unmap_single.
-
Jeff Garzik authored
Contributed by Ken Zalewski.
-
Simon Kelley authored
1) Remove "#include <linux/version.h>" which was not needed and added bad extra compile dependencies. 2) Fix typo in module description. 3) Make card detection code cope with buggy SMC CIS entries.
-
Jeff Garzik authored
Contributed by Josh Litherland, Donald Becker, and others.
-
Jeff Garzik authored
contributed by "JaReK" and Donald Becker.
-
Scott Feldman authored
* Critical bug fix: under heavy Tx stress using ZEROCOPY or TSO, if we ran out of Tx descriptors, we didn't calculate for the context descritor used as the first of the ZEROCOPY/TSO send, nor do we clean up the context desriptor bits in the case where the send isn't going to fit, where we need to undo the mappings. This bug was introduced with the 5.2.16 patch set which included a workaround for a hang on 82544 over PCI-X. This workaround cause the check for no-Tx- rosource logic to change, and this bug slipped in.
-
Andi Kleen authored
Fix harmless 64bit warnings in defxx.c
-
Andi Kleen authored
Fix some harmless integer/pointer size mismatch warnings in hp100.c on 64bit compiles
-
Andi Kleen authored
This marks some net drivers which are clearly not 64bit (judging from the warnings) as !64BIT. -Andi
-
Jeroen Vreeken authored
removes a verry old debug line from the bpqethernet driver that only fills logs.
-
Jeroen Vreeken authored
fix for the probe function of the scc driver which now uses an uninitialised scc struct for requesting an io region.
-
Scott Feldman authored
Finally got around to adding ethtool_ops to e100-3.0.x. I found a bug with get_eeprom() and it seems to work best if we add get_eeprom_len() to the ops list. Also moved check for offest + len < size into ethtool.c. I was able to test [GS]EEPROM, PHYS_ID, GSTATS, GSTRINGS, and TEST, and everything looks good. Should I send same for 2.4?
-
Russell King authored
pcnet_cs registers the network device too early. The effect of this is that the networking hotplug scripts are unable to bring the device up automatically. There are two issues: - we were registering the net device before we finished setting up the device (eg, reading the MAC address.) - we were using DEV_CONFIG_PENDING to block the net device "open" callback, and as we know the other methods may be called prior to open. My only concern with this patch is that we set info->node.dev_name after we register the net device, so use of cardctl during the hotplug scripts may give unexpected results. However, I am not aware of anyone using cardctl to read the device name in network hotplug scripts. Please review and merge. Thanks.
-
Stephen Hemminger authored
by converting to use alloc_etherdev.
-
Michael Hunold authored
This restores the changes to the dvb_net code done by <shemminger@osdl.org>, which were wiped out by my last patchset.
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
-
- 13 Oct, 2003 15 commits
-
-
Linus Torvalds authored
flag (and order it on SMP), so that del_timer_sync() always sees the timer either pending or running if it is active.
-
Linus Torvalds authored
Cset exclude: mingo@elte.hu[torvalds]|ChangeSet|20031012025453|05000
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.5
-
Stephen Hemminger authored
-
Bart De Schuymer authored
-
Stephen Hemminger authored
My earlier change broke the if_ptr assumption used by SPPP drivers. This makes sealevel driver do if_ptr like it used to.
-
Stephen Hemminger authored
In 2.6.0-test6, I put in a patch which fixed sealevel driver, but broke all the other wan devices because it got rid of one level of indirection. This puts back the indirection, and hopefully prevents others from misreading it the same way. The SPPP drivers expect that netdev->priv points to device local structure whose first element is a pointer to the ppp device.
-
Wensong Zhang authored
-
Wensong Zhang authored
Patch from Horms <horms@vergenet.net> Since both the primay and the backup sync daemon can be started in a box at a time, we must just check if the MASTER bit is set in the sync state.
-
Herbert Xu authored
-
Manfred Spraul authored
This fixes the stack end detection properly, and verifies that the stack content printing does not overflow into the next page even partially. This is required especially for x86 BIOSes that misalign the stack, together with the page access debugging that unmaps unused kernel pages to check for valid accesses. Architectures with special needs (eg HPPA with stacks that grow up) can override the kernel stack end test with __HAVE_ARCH_KSTACK_END if they ever enable the anal slab debugging code.
-
Andi Kleen authored
This is the minimal change to make "mlockall()" not complain about the occasional PROT_NONE area. PROT_NONE is commonly used on x86-64, and is no reason to not lock in the rest of the mappings into memory.
-
Geert Uytterhoeven authored
Sun-3: Add missing include (needed because of __attribute_used__ in <linux/init.h>)
-
Geert Uytterhoeven authored
M68k: Export missing symbol csum_partial
-
David Woodhouse authored
- add disallow_signal() to complement allow_signal(), rather than having different subsystems try to do it by hand. - add a version of dequeue_signal() which does the necessary locking on its own, again to avoid having modules have to care. - let allow_signal() to actually allow signals other than SIGKILL. Currently they get either converted to SIGKILL or silently dropped, according to whether your kernel thread happens to have sa_handler set for the signal in question. (Barf alert: we do this by just installing a dummy handler) - make jffs2 use the cleaned up infrastructure
-
- 12 Oct, 2003 4 commits
-
-
Andi Kleen authored
From Pavel Machek. Make software suspend compile again on x86-64
-
Linus Torvalds authored
It can have gotten set by a stray interrupt if there were no handlers while the IRQ was disabled, and we shouldn't confuse other parts (ie this is another safety-net for the issues that Al Viro brought up about disable_irq() deadlocks when no handlers exist).
-
Matthew Dharm authored
This fixes a bug which was introduced when the code was switched to use atomic_read()s. The bug prevents hot-unplugging of SCSI (or emulated SCSI) devices from working. From Patrick Mansfield.
-
Linus Torvalds authored
They can happen on x86 as a result of interrupts in BIOS calls. Noted by Manfred Spraul.
-