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..