Paul Mackerras [Tue, 1 Apr 2003 12:53:32 +0000 (04:53 -0800)]
[PATCH] update adb driver
This updates the ADB (Apple desktop bus) driver used on macs and
powermacs. The main change, from Ben Herrenschmidt, is that handlers
are called without a lock held now. It also adds a way for userland to
obtain some information about individual ADB devices from the driver.
Rusty Russell [Tue, 1 Apr 2003 12:42:38 +0000 (04:42 -0800)]
[PATCH] Subdivide PCI class for aliases
The previous handling of PCI class masks was too primitive: the
class field is not "all or nothing" but has base class, subclass
and interface fields. This patch changes the alias form from:
pci:vNdNsvNsdNcN to pci:vNdNsvNsdNbcNscNiN.
Rusty Russell [Tue, 1 Apr 2003 12:42:30 +0000 (04:42 -0800)]
[PATCH] Extable list removal
This removes the extable list, and the struct exception_table, in
favour of just iterating through the modules. Now all iteration is
within kernel/module.c, this is a fairly trivial cleanup.
Rusty Russell [Tue, 1 Apr 2003 12:42:22 +0000 (04:42 -0800)]
[PATCH] Symbol list removal
This removes the symbol list, and the concept of kernel symbol groups,
in favour of just iterating through the modules. Now all iteration is
within kernel/module.c, this is a fairly trivial cleanup.
Rusty Russell [Tue, 1 Apr 2003 11:47:14 +0000 (03:47 -0800)]
[PATCH] rio_linux.c misc_register patch
From: Chris Wilson <chris@qwirx.com>
This function did check misc_register's return code, but made no effort to
clean up if it failed, leaving a large amount of potential crud lying
around. I moved the registration to the start of the function, so that the
cleanup is trivial, and made sure the device gets unregistered in the
cases where it would not have been registered at all before.
Douglas Gilbert [Mon, 31 Mar 2003 08:52:21 +0000 (02:52 -0600)]
scsi_debug version 1.69 for lk 2.5.66
As people are using scsi_debug to simulate a large
number of disks to play with the dev_t expansion,
some problems have come to light.
Changelog:
- change num_devs to num_tgts
so now the user can independently modify the
number of hosts (add_host), the number of targets
per host (num_tgts) and the number of luns per
target (max_luns)
- num_tgts sets scsi_host::max_id after allowance is
made for the initiator's target id
- max_luns default changed to 1 and it is sysfs
writeable
- REPORT LUN response cleaned up. Could now possibly
generate a response indicatimg there were up to
16,384 logical units available
- clean up sense buffer generation
David S. Miller [Mon, 31 Mar 2003 07:23:31 +0000 (23:23 -0800)]
[SOFTIRQ]: Define local_softirq_pending, use it in softirq.c
Platforms, such as IA64, have a per-cpu mapping for local cpu
data. When we killed off asm/softirq.h, we removed the usage
of local_softirq_pending IA64 was using. By defining a generic
version we can put the optimization back.
David S. Miller [Mon, 31 Mar 2003 06:32:13 +0000 (22:32 -0800)]
[SOFTIRQ]: Move softirq implementation to common area, add debug check.
1) Every arch implemented local_bh_foo identically, move to
linux/interrupt.h
2) Kill all asm/softirq.h references
3) Kill asm/softirq.h itself
4) Move local_bh_disable() out of line to kernel/softirq.c
5) Add BUG check on irqs_disabled() to local_bh_disable()
This just reformats the goto labels to a more accepted style. Now to
do some more reformatting after ages and then make it aware of the
new modules infrastructure, i.e. kill MOD_{INC,DEC}_USE_COUNT, then
rinse and repeat it with LLC, Appletalk, etc.
Jens Axboe [Mon, 31 Mar 2003 01:52:42 +0000 (17:52 -0800)]
[PATCH] scsi queueing weirdness
The queueing logic in scsi_lib looks really odd right now.
- Defers calling elv_next_request() until we actually think we can queue
something. Always want to do that, request will have been marked
REQ_STARTED after this, so block layer cannot touch it or merge to it.
- Kill the queue empty check. If elv_next_request() returned a req,
there's one to queue.
Russell King [Sun, 30 Mar 2003 10:14:49 +0000 (11:14 +0100)]
[PCMCIA] Reorganise SA11xx PCMCIA support.
The SA1100 PCMCIA structure didn't lend itself well to the device
model. With this reorganisation, we end up with a reasonable
structure which fits better with the driver model. It is now
obvious that SA11x0-based socket drivers are separate from
SA1111-based socket drivers, and are treated as two separate drivers
by the driver model.
Trying to read the overlong target of a /proc/*/fd/N file descriptor
leads to a SIGSEGV inside the kernel, because the code doesn't check
for an error pointer return from d_path.
Linus Torvalds [Sat, 29 Mar 2003 14:34:37 +0000 (06:34 -0800)]
Update direct-rendering to current DRI CVS tree.
This adds support for i830 interrupt handling, and new improved
lock context keying. See per-file comments for more detail, as this
commit sadly mixes up a few different things (that's what you get
for not tracking the changes at a fine enough granularity).
Jean Tourrilhes [Sat, 29 Mar 2003 04:41:15 +0000 (23:41 -0500)]
[PATCH] : Discovery locking fixes
o [CRITICA] Fix remaining locking problem with discovery log
o [CRITICA] Don't call expiry callback under spinlock
o [FEATURE] Simplify/cleanup/optimise discovery/expiry code
Martin J. Bligh [Fri, 28 Mar 2003 19:43:27 +0000 (14:43 -0500)]
[PATCH] remove warning for 3c509.c
Get this compile warning:
drivers/net/3c509.c:207: warning: `el3_device_remove' declared `static' but never defined
because the function definition is under
"#if defined(CONFIG_EISA) || defined(CONFIG_MCA)".
This patch puts the declaration under the same conditions.
I'd be shocked if it wasn't correct ;-)
Paul Mackerras [Fri, 28 Mar 2003 19:43:08 +0000 (14:43 -0500)]
[PATCH] MACE ethernet driver update
This patch updates the MACE ethernet driver, used on older powermacs,
to remove the uses of save_flags/restore_flags/cli/sti and use a
spinlock instead.
Adrian Bunk [Fri, 28 Mar 2003 19:42:29 +0000 (14:42 -0500)]
[PATCH] fix .text.exit error in drivers/net/r8169.c
In drivers/net/r8169.c the function rtl8169_remove_one is __devexit but
the pointer to it didn't use __devexit_p resulting in a.text.exit
compile error when !CONFIG_HOTPLUG.