Adam Belay [Tue, 25 Mar 2003 21:21:48 +0000 (21:21 +0000)]
ALSA SB16 PnP Update
Updates the driver to the new pnp apis. Although it has only been tested
for compiliation, it is an improvement over the existing broken code.
These changes are based on a update by Shaheed Haque <srhaque@iee.org>.
Adam Belay [Tue, 25 Mar 2003 17:31:57 +0000 (17:31 +0000)]
[PATCH 2.5] PnP changes to allow MODULE_DEVICE_TABLE()
This patch fixes the MODULE_DEVICE_TABLE problems, the correct code was
accidentally lost a few merges back. It is from Daniel Ritz
<daniel.ritz@gmx.ch>, below is the original message.
hello adam, jaroslav, list
this patch does:
- rename struct pnp_card_id to pnp_card_device_id
- fix all references to it
this is needed for the MODULE_DEVICE_TABLE() macro to work with pnp_card's.
jaroslav did this a while ago (changeset 1.879.79.1), but adam undid it a bit
later (changeset 1.889.202.3). but why?
w/o the patch gcc dies when compiling als100.c with the message 'storage size
of __mod_pnp_card_device_table unknown' (this is from the macro).
any reasons why i should not send this to linus?
against 2.5.65-bk
Andi Kleen [Tue, 25 Mar 2003 03:54:54 +0000 (19:54 -0800)]
[PATCH] x86-64 updates
Lots of x86-64 updates. Merge with 2.4 and NUMA works now. Also reenabled
the preemptive kernel. And some other bug fixes.
IOMMU disabled by default now because it has problems.
- Add more CONFIG options for device driver debugging and iommu
force/debug. (don't enable iommu force currently)
- Some S3/ACPI fixes/cleanups from Pavel.
- Set MSG_COMPAT_* in msg_flags for networking 32bit emulation.
This unfortunately still doesn't fix the fd passing problems.
- Sync PCI IOMMU code with 2.4 (minor fixes, flush less often)
- Really fix UP compilation (Pavel)
- Reenable preempt
- Fix CONFIG_DISCONTIGMEM bootup and enable. Still needs more tuning.
- Fix some bugs in topology discovery and clean code up.
- Don't put unwind tables into object files
- Some kernel debugging hooks
- Move CPU detection into early real mode code to better interact with
vesafb consoles
- Initialize mode in real mode character output
- New 32bit FPU signal save/restore
- Various fixes in FPU handling in ptrace
- Fix security holes in ptrace (32bit and 64bit)
- Fix serial ioctl (including security hole)
- Add bluetooth ioctls to 32bit emu (from sparc64)
- Correctly enable si_val in queued signals in 32bit emulation
- Rework SEM_STAT emulation. LTP still fails unfortunately.
- Fix error case in msg* emulation
- Fix debug register access from ptrace (Michal Ludvig, me)
- Fix handling of NULL arguments in 32bit execve
- Fix some error cases for 32bit readv/writev (LTP still complains)
- Remove rate control from unimplemented syscall warnings
- Fix error message for missing aperture
- Turn some APIC printks into Dprintk to make the bootup more quiet
- Some fixes for no APIC (probably still broken), add disableapic
option (untested)
- Sync K8 MCE handler with 2.4. Should work a lot better now.
- Remove never used KDB hooks
- Fix buffer overflow in command line copying
- Merge from i386: use separate status word for lazy FPU state
- Don't force the IOMMU for dma masks < 4GB.
- Print backtrace in Sysrq-T (from Andrea)
- Merge from i386: fix FPU race in fork.
- Disable NX mode by default for now
- Rewrite dump_pagetable
- Fix off by one bug in ioremap (i386 merge)
- Merge from i386: handle VIA pci bridge bugs
- Disable NUMA ACPI support (no SRAT support yet)
- Fix aio 32bit emulation
- Increase 32bit address space to nearly 4GB
- Add exit_group syscall
- Fix TLS setting in clone (Ulrich Drepper)
Adam Belay [Mon, 24 Mar 2003 22:30:41 +0000 (22:30 +0000)]
PnPBIOS Update
- Prevents calling the node_info call more than necessary in order to take
load off the pnpbios
- intregrates the proc registration code with the device scanning code
- adds human readable error messages instead of number codes
- other small cleanups
David S. Miller [Mon, 24 Mar 2003 14:47:20 +0000 (06:47 -0800)]
[TCP]: Forward port of 2.4.x bugfix, noticed as missing by davej@codemonkey.org.uk.
In tcp_sendmsg, make sure we jump to the out label
when seglen is decremented to zero and no more iovecs remain.
This matches the do_tcp_sendpages logic and makes sure that
PSH is set correctly at the end of a write even if the write length
equals the current mss.
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).