Paul Mackerras [Sat, 22 Mar 2003 13:34:35 +0000 (05:34 -0800)]
[PATCH] fix powerbook media bay
This patch fixes a couple of bugs and compile errors in the powerbook
media bay driver. It was getting initialized after the IDE subsystem,
whereas it needs to be initialized before so that the IDE subsystem
can see the CD-ROM drive in the bay.
Paul Mackerras [Sat, 22 Mar 2003 13:34:28 +0000 (05:34 -0800)]
[PATCH] update mac53c94 scsi driver
This patch updates the mac53c94 scsi HBA driver, used on older
powermacs, to correspond with the recent scsi subsystem changes, to
use the PCI DMA API, to not panic, and to use a spinlock instead of
save_flags/restore_flags/cli/sti.
Paul Mackerras [Sat, 22 Mar 2003 13:34:21 +0000 (05:34 -0800)]
[PATCH] update MESH scsi driver
This patch updates the `mesh' scsi driver used on older powermacs to
correspond with recent changes in the scsi subsystem (things like
using cmd->device->id instead of cmd->target).
Paul Mackerras [Sat, 22 Mar 2003 13:34:14 +0000 (05:34 -0800)]
[PATCH] update via-pmu driver
This patch forward-ports various fixes to the driver for the PMU
(power manager unit) on powermacs and powerbooks from 2.4, and in
particular, some improvements to the battery charge calculations.
Paul Mackerras [Sat, 22 Mar 2003 13:33:58 +0000 (05:33 -0800)]
[PATCH] update via-cuda driver
This patch updates the CUDA driver (the power/reset/ADB controller on
older powermacs) to fix some SMP issues and to match the 2.4 version
of the driver.
Register all pcmcia drivers with the pcmcia bus within the old
register_pccard_driver() function. Alternatively, a new
registration function "pcmcia_register_driver()" (and its
counterpart, "pcmcia_unregister_driver()") can be used.
Register a bus_type pcmcia_bus_type. This means the initialization of
the ds module needs to be done in two levels: one quite early
(subsys_initcall) so that drivers may use the bus_type; the other one
must stay that late (late_initcall). As only one initcall can be
specified within one module, some tweaking is needed.
Alan Cox [Sat, 22 Mar 2003 11:15:54 +0000 (03:15 -0800)]
[PATCH] ide typo fixes #3
I'm looking into the other IDE problem from the merge - several people
see hangs. Bartolomiej has found one suspicious looking candidate. I'll
try and pin it down ASAP.
Alan Cox [Sat, 22 Mar 2003 11:15:08 +0000 (03:15 -0800)]
[PATCH] redo the n_tty fix
Two problems with the original change
1. We should return bytes actually processed on an error according to
SuS/POSIX. Technically the EFAULT path is outside the spec but its best
we follow
2. We need to fix most of this anyway because the final section of the
change was wrong. If retval was set we retried and got an efault again
in some cases
I think this way of doing it is right but it could do with further
review
Ivan Kokshaysky [Sat, 22 Mar 2003 15:19:18 +0000 (15:19 +0000)]
[PCI] Make setup-bus.c aware of cardbus bridges.
Comments from rmk:
Make setup-bus.c properly aware of cardbus bridges. We treat the
bus behind a cardbus bridge more or less like any other bus, except
we don't explicitly descend below. We do, however, explicitly
reserve IO and memory space as we have done in the past. Memory
space is doubed to 32MB as a measure to allow the Mobility
cardbus-pci stuff to work. The amount of space reserved is now
specified by a couple of #defines at the top of the file.
This allows pci_bus_assign_resources() and pci_bus_size_bridges()
to be called for both root buses as well as cardbus secondary buses.
Comments from Ivan follows:
This patch combines your(rmk) cardbus changes (formerly pci-11)
and my "arbitrary resource layout" stuff. This + current bk works
on nautilus.
Most interesting feature: this can be used on partially
allocated PCI tree. For instance, i386 PCI code has always been
absolutely helpless wrt incorrectly initialized p2p bridges.
Now it can just call pci_assign_unassigned_resources() in the
end of PCI init and it would fix following problems:
- completely uninitialized bridge windows (with base and limit 0);
- erroneously "closed" windows;
- windows overlapping with something else.
Petr Vandrovec [Fri, 21 Mar 2003 11:08:34 +0000 (03:08 -0800)]
[PATCH] Fix ncpfs and rpcgss order in fs/Kconfig
RPCSEC_GSS options are related to (only) nfs/nfsd, so it is
more logical to ask RPCSEC_GSS questions immediately after
nfs/nfsd, not after half of screen more questions.
NCPFS related options should appear immediately below
ncpfs question, not after Coda and RPCSEC...
[PATCH] get rid of __MOD_INC_USE_COUNT/__MOD_DEC_USE_COUNT
As the netfilter folks don't seem to have any interest in 2.5 currently
I decided to fix their last uses of those old module interfaces myself.
The implementation (get a reference first and release it again when
not actually needed) might be slightly suboptimial but the netfilter
team should just fix it if/when they get any interest in Linux 2.5/2.6.
Also fix the MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT to give more accurate
deprecation warnings.
Devfs tries to be super smart and rereads partition tables at all
kinds of wierd points. This breaks a bunch of stuff were you
can't get the right disk changed information (i.e. CompactFlash).
If people actually need this kind of stuff they should just call partx
from devfsd instead of relying on the kernel doing something like this.
Cleans up the devfs code significatnly (aka removes tons of junk)
[PATCH] fix waitqueue leak in devfs_d_revalidate_wait
devfs_d_revalidate_wait adds to a waitqueue but never removes from it
again so we there's one entry full of reused stack space added on
each call (I wonder how this ever worked).
The function has a few more bugs (it effectivly does a sleep_on instead
of checking for the actual even and can't deal with negative dentries
at all), but I just had breakfast and don't want to poke into devfs
internals deeper - I still hope Adam's smalldevfs will get merged
anyway..