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
(1) use new pcmcia_register_driver() & co API
(2) use scsi_add_host & co. This needed some restructuring in aha152x.c
(3) add a bunch of missing statics to aha152x.c
(4) move prototypes for functions used by aha152x_stub.c to aha152x.h
Osamu Tomita [Thu, 27 Mar 2003 03:38:14 +0000 (21:38 -0600)]
[PATCH] Complete support for PC-9800 sub-arch (9/9) SCSI
This is the patch to support NEC PC-9800 subarchitecture
against 2.5.65-ac4. (9/9)
SCSI host adapter support.
- BIOS parameter change for PC98.
- Add pc980155 driver for old PC98.
- wd33c93.c update error handler for eh_*.
- wd33c93.h register to int for PIO mode.
(1) fix the jiffies warnings
(2) remove the #undef MODULE braindamange for pcmcia
(3) make all methods static and move the template away from the header
Matthew Wilcox [Tue, 25 Mar 2003 05:02:44 +0000 (23:02 -0600)]
[PATCH] C3000 support in sym53c8xx
This patch adds support for the HP firmware call pdc_get_initiator().
This is necessary to support the narrow SCSI port on machines such as
the C3000 which use one channel of the 896 in narrow mode and one in
wide mode. The only way to figure this out is to ask firmware how it's
configured.
Ivan Kokshaysky [Mon, 24 Mar 2003 14:24:28 +0000 (06:24 -0800)]
[PATCH] alpha: pci update
- Check for parent PCI bus instead of bridge device to break the
look in common_swizzle(). Functionally it's the same, but it's
cleaner for PC-style host bridges (nautiluses).
- Generic PCI setup changes finally went in (thanks to rmk), so that
FIXME in common_init_pci() can go.
[PATCH] i2c: set up a "generic" i2c driver to prevent oopses when devices are registering.
This is needed as we are still not using the driver core model for
matching up devices to drivers, but doing it by hand. Once that is
changed, this will not be needed.
Davide Libenzi [Mon, 24 Mar 2003 04:48:01 +0000 (20:48 -0800)]
[PATCH] epoll with selectable ET/LT behaviour ...
This patch adds selectable EdgeTriggered/LevelTriggered behaviour to
epoll.
It has been widely discussed on lkml about two weeks ago and everyone
very welcome the change. It has been even more widely discussed through
private emails with application developers, that do not feel confortable
posting on lkml. The great value of the patch is that selecting the LT
behaviour, applications using poll/select can be ported very easily to
epoll, making existing apps to benefit from epoll scalability with very
short ETA's.
The API remains the same with the addition of a EPOLLET event flag that
sets the LT/ET behaviour for that fd.
Many usb drivers use the usb_devfs_handle variable instead of just
adding the usb/ prefix directly to their devfs_register calls. Fix
that and make usb_devfs_handle static and unexported.
[PATCH] make devfs_alloc_unique_number private to devfs
.. by moving a bunch of devfs-related code from fs/partition/check.c
to fs/devfs/base.c. Also has the nice sideffect of getting rid of
a bunch of ugly ifdefs.
[This is the new and improved, rediffed, applying and compilable
version. In short it's perfect]
Linus Torvalds [Mon, 24 Mar 2003 01:32:59 +0000 (17:32 -0800)]
Avoid using the gcc-ism of creating an anonymous structure directly
by having a cast followed by an initializer. It seems even gcc can't
do it right anyway in some versions (as reported by Jens Axboe).
Stephen Rothwell [Mon, 24 Mar 2003 00:20:13 +0000 (16:20 -0800)]
[PATCH] another fix for compat_ptr
This is the other part of the missing bits of the compat_ptr patch
pointed out to me by Andrew Morton and Dave Miller. This is just
the architectures I have permission to send you. Dave has sent you
his own already.
The problem turns out to be that q->backing_dev_info.memory_backed is not
initialized, leaving it to be whatever was there before. The end result is
that my "driver" never saw write requests, but reads came through fine.
Took a while to figure out that one...
Here's the fix, for what it's worth. (I had, BTW, tried just zeroing the
whole structure in blk_init_queue(), but that makes IDE oops at boot - it
sets q->queuedata early).
Stephen Rothwell [Sun, 23 Mar 2003 12:59:16 +0000 (04:59 -0800)]
[PATCH] compat_uptr_t and compat_ptr
This creates compat_uptr_t (to represent a user mode pointer passed to
the kernel other than as a syscall parameter) and compat_ptr() to
convert it to a kernel pointer.
This fixes a couple of bugs in s390x (where the conversion of pointers
actually does something).
swap.h is basically the header for MM internals instead of the
public API (mm_internal.h would have been a better name..). Stop
including it in mm.h - this only needs moving one function that
should be in swap.h anyway to the right place and fixing up a bunch
of places using it.
Ulrich Drepper [Sun, 23 Mar 2003 11:39:43 +0000 (03:39 -0800)]
[PATCH] more generic syscall return value type fixes
It was good to see the syscall return value types being fixed but still
some cases are missing. I attach a patch which fixes at least those
which cause problems to me in the moment.
Linus Torvalds [Sun, 23 Mar 2003 08:56:08 +0000 (00:56 -0800)]
Use '#ifdef' instead of '#if' to test CONFIG_xxxx variables. It works
both ways, but anal compilers will warn about using identifiers that
have never been defined in preprocessor expression statements.