Robert Love [Wed, 3 Apr 2002 08:45:42 +0000 (00:45 -0800)]
[PATCH] simple preemption debug check
This simple check was first suggested by Andrew Morton. Pretty basic -
whines if a task exits with a nonzero preempt_count value.
I put an identical check in the 2.4 preempt-kernel patch and - sure
enough - it was found that XFS essentially disables preemption as it
destroys data structures containing locks without first unlocking. The
SGI folks are working on that.
Anyhow, its a quick and clean solution to debugging potential problems.
Patch is against 2.5.7, please apply.
David Brownell [Wed, 3 Apr 2002 08:19:57 +0000 (00:19 -0800)]
USB ohci driver fixes
- An oopsable bug affecting unlink of interrupt
transfers. Fix mirrors one done ages ago for ISO.
(Original patch by Matt Hughes)
- Better cleanup on init failure (Matthew Frederickson)
- fixes the problem Stuart reported, where interrupt urbs
couldn't be unlinked from their completion handlers, and it
also makes OHCI return the correct status code for async
unlink requests (-EINPROGRESS not zero).
Paul Gortmaker [Wed, 3 Apr 2002 12:20:16 +0000 (07:20 -0500)]
Enable multiple ISA ethernet probes at boot (old behaviour was to quit
once eth0 was found) - it is long since anyone shipped or built kernels
with all the ISA drivers compiled in.
This change will eliminate the need for adding "ether=...." at the boot
prompt for a lot of users who build their own kernels and have multiple
ISA ethercards at standard (i.e. probed) I/O addresses.
Also got sick of counting zeros, so did a struct init cleanup,
i.e. {1,0,0,0,0,0,0,0,9} -> {one:1, nine:9}
Paul Gortmaker [Wed, 3 Apr 2002 12:19:32 +0000 (07:19 -0500)]
The struct netdev rmem_start and rmem_end entries are specific to 8390
based net cards and hence these should be moved into the dev->priv
for these cards.
This patch adds rmem_start and rmem_end to dev->priv in 8390.h, and does:
s/dev->rmem_/ei_local.rmem_/g on all 8390 shared mem drivers.
Paul Gortmaker [Wed, 3 Apr 2002 12:18:40 +0000 (07:18 -0500)]
drivers/net/sb1000.c does not use any ISA memory for I/O but does (ab)use
the rmem_end field to store an I/O port address in. As rmem_end is going
away, this does a s/rmem_end/mem_start/g since mem_start is otherwise
unused in sb1000.
Paul Gortmaker [Wed, 3 Apr 2002 12:17:56 +0000 (07:17 -0500)]
These net drivers init dev->rmem_start/end but do not use these at all
(probably as a result of copying skeleton or similar). Removed this as
a step in the goal to remove rmem_start/end from netdev struct entirely.
e1000 net drvr updates 11/13:
Bump version to 4.2.8-k1, use EXPORT_NO_SYMBOLS, minor changes
to ensure that reported link information is always correct,
remove magic numbers in calls to memset.
e1000 net drvr update 9/13:
change_mtu cleanup. Allows frame sizes up to 2k on the 82542
instead of limiting the MTU to 1500, so that the 82542 can be
used with software 802.1q VLANs.
e1000 net drvr updates 8/13:
Minor receive cleanup, queue empty buffers to the hardware in
groups of 16 to reduce unneeded fetches and improve PCI
efficiency.
e1000 net drvr update 4/13:
Updated transmit path. Breaks the transmit path up to make it
more understandable. Aggressively reclaim resources by checking
for completed transmits before queuing each new frame to avoid
stalling the driver by delaying interrupts to long.
e1000 net drvr update 3/13:
Search and replace of adapter->shared with adapter->hw
throughout the driver. This matches the naming used in
e1000_hw.c and is more correct.
e1000 net drvr update 2/13:
Update to low level hardware code. Adds support for the new
82540 device. Replaces e1000_mac.c e1000_mac.h e1000_phy.c and
e1000_phy.h with e1000_hw.c and e1000_hw.c. Changes to the
makefile, header includes, and some minor function syntax
changes to get the driver working with the new code.
Dave Jones [Wed, 3 Apr 2002 04:02:32 +0000 (20:02 -0800)]
[PATCH] pnpbios driver update.
Update from Thomas..
Here are the additional bits from the -ac tree, diffed
against 2.5.6 + 2.5.5-dj3 patch. The changes include:
- Improve some comments
- Postpone starting the kernel thread (Alan Cox)
- Call kernel thread 'kpnpbiosd' instead of 'kpnpbios'
- Consolidate printing of error messages to save space
- Add __init and __exit tags and return appropriate error codes
- Print slightly more consistent messages
- Get closer to supporting build-as-module
Dave Jones [Wed, 3 Apr 2002 04:00:46 +0000 (20:00 -0800)]
[PATCH] document <asm-i386/io.h> functions.
The second hunk also contains a fix from Badari Pulavarty to make
page_to_phys() work on pages >4GB. Without this, we truncate the
physical address to 32bit
Dave Jones [Wed, 3 Apr 2002 03:58:41 +0000 (19:58 -0800)]
[PATCH] devexit fix for i82092
In light of the 'lets use this for shutdowns' this will eventually
be ripped out, but for now it makes sense to include it so that we
can build it again on modern binutils