Ivan Kokshaysky [Sat, 7 Dec 2002 12:37:29 +0000 (04:37 -0800)]
[PATCH] alpha pci update
- back out Jay's changes in quirk_cypress;
- take into account iommu windows setup for pci resources allocation;
- don't use 2nd arg in pcibios_update_resource(), it's going to be
removed;
- implement pcibios_enable_device() - currently we use the init-time
pdev_enable_device() which is sentenced to death.
Ivan Kokshaysky [Sat, 7 Dec 2002 05:59:16 +0000 (21:59 -0800)]
[PATCH] more typos in __stxncpy
[posted on axp-list yesterday; I already have some success reports]
- ev6: missing local label which causes oopses in several places.
BTW, I was quite surprised that `as' allows such things
(I guess it shouldn't):
br 1f
...
$foo:
...
1:
- ev5: t12 instead of t10 - corruption in ISO readdir, probably other
nastiness.
Also, minor cleanups:
- move the label in $unaligned, this should save a cycle or two;
- replace redundant `mskqh' with a nop (it doesn't save any cycles though);
- fix comment: t12 _is_ touched.
Petr Vandrovec [Fri, 6 Dec 2002 12:09:50 +0000 (04:09 -0800)]
[PATCH] undeclared variable in netlink device emulation
For some strange reason I still have netlink device emulation enabled
in the kernel at home. This revealed one more missing 'int i' in Al's
devfs cleanup.
Paul Mackerras [Fri, 6 Dec 2002 10:17:05 +0000 (02:17 -0800)]
[PATCH] Update adbhid.c driver
This updates drivers/macintosh/adbhid.c driver (which interfaces between
the ADB bus and the input layer). The patch gets rid of global cli/sti
uses and corrects some typos (for example input.idversion ->
input.id.version). These changes have been approved by Franz Sirl, the
maintainer of this driver.
Add driver for multi-subchannel devices (ctc and lcs)
The cu3088 driver is an metadriver to make the ctc and lcs
(potentially also claw) drivers work with the new
channel subsystem driver. It uses the ccwgroup driver to
group subchannels for ctc and lcs.
Convert dasd driver to new channel subsystem driver
This makes the dasd driver work again after the changes to
the channel subsystem driver:
- handle device detection with standard driver model functions
- reduce use of dasd_devmap (devmap will die as soon as
dasd configuration is handled from initramfs)
- some cleanups
Authors: Arnd Bergmann <arndb@de.ibm.com>
Martin Schwidefsky <schwidefsky@de.ibm.com>
Convert 3215 console driver to new channel subsystem driver
this adds support for the driver model to the 3215 driver. The console
is one of the biggest problems because the regular device detection
is now done at initcall time although we actually want full
support for channel attached console devices as early as possible.
con3215_init() now uses a special ccw_device_probe_console() function
to do an early initialization of a single device.
The main backdraw for users is that the console can no longer
be autodetected when not running under VM. LPAR or P390 users
with a channel attached console now have to specify
console_device=f00 as a kernel parameter.
Authors:
Martin Schwidefsky <schwidefsky@de.ibm.com>
Arnd Bergmann <arndb@de.ibm.com>
The ccwgroup driver contains 'ccw_group' devices, which needed because of
strange hardware properties: Some device drivers need two or more
ccw_devices to make up a logical device and the user has to configure
which ones belong together. We have not found a way to represent this
correctly using the linux driver model, the current implementation
is about as good as it gets.
Rewrite of the s390 channel subsystem driver for the new driver model
The channel subsystem driver a.k.a s390 common I/O layer is the low level
driver for most device drivers on s390 systems. The old code is largely
unchanged from the initial linux-2.2 port and there is a lot of bitrot
on it.
In particular, concepts from the 2.5 driver model are implemented in a
completely different and more complicated way here.
This rewrite tries to get the driver ready for 2.6. The new interface is
not compatible to the old one but should be rather stable now unless
someone finds major flaws.
The 's390dyn' and 'chandev' interfaces have been removed entirely (yippii!)
and are replaced by hotplug and sysfs interfaces.
Authors: Arnd Bergmann <arndb@de.ibm.com>,
Cornelia Huck <cohuck@de.ibm.com>,
Martin Schwidefsky <schwidefsky@de.ibm.com>
Mark Haverkamp [Fri, 6 Dec 2002 00:33:23 +0000 (16:33 -0800)]
[PATCH] aacraid 2.5 update
This contains three changes. The first removes some #defines that don't
seem to be needed anymore. The second fixes a problem when CONFIG_LBD
is set and sector_t is u64. The third fixes some compile warnings
setting a char * in the scsi_pointer struct to a dma_addr_t. I changed
the usage from the ptr element to the dma_handle element.
It compiles without warnings and I have run some tests on aacraid devices
on the osdl lab machines with the CONFIG_LBD option on and off.
Pavel Machek [Thu, 5 Dec 2002 14:09:37 +0000 (06:09 -0800)]
[PATCH] acpi_wakeup.S: simplify logic
This simplifies logic in acpi_wakeup.S by putting code and data into
same segment. Plus it kills off-by-3 bug and uses constant instead of
hardcoded value.
Pavel Machek [Thu, 5 Dec 2002 14:09:32 +0000 (06:09 -0800)]
[PATCH] s3 sleep: make it work when kernel is big
When kernel becomes too big, table allocated in acpi.c is no longer
big enough and machine crashes during acpi_wakeup.S... This fixes
it and adds safety check for acpi_wakeup's code size.
Pavel Machek [Thu, 5 Dec 2002 14:09:22 +0000 (06:09 -0800)]
[PATCH] swsusp: 64-bit compatibility
This makes swsusp 64bit compatible, and makes it work in case of two
mirrors of physical memory (x86-64 works like that). It also contains
few accumulated cleanups.
Rusty Russell [Thu, 5 Dec 2002 13:57:08 +0000 (05:57 -0800)]
[PATCH] sigmask() was mutilply defined
From: Stephen Rothwell <sfr@canb.auug.org.au>
Every definition if sigmask() was the same. In one case it was
mutilply defined for the arm architecture. This patch removes all the
architecture defines of sigmask and moves the generic define from
the protection of __HAVE_ARCH_SIG_BITOPS.