Jaroslav Kysela [Wed, 20 Aug 2003 23:31:54 +0000 (01:31 +0200)]
ALSA CVS update
D:2003/08/16 10:54:09
A:Jaroslav Kysela <perex@suse.cz>
F:core/oss/pcm_oss.c:1.45->1.46
L:Fixed open for O_RDWR when capture is not available
Jaroslav Kysela [Wed, 20 Aug 2003 23:30:45 +0000 (01:30 +0200)]
ALSA CVS update
D:2003/08/14 17:05:13
A:Takashi Iwai <tiwai@suse.de>
F:pci/ac97/ac97_codec.c:1.100->1.101
L:fix by James Courtier-Dutton <James@superbug.demon.co.uk>:
L:
L:Fixes ac3 passthru non-audio bit setting for AC97 codecs.
L:
L:I have :-
L:Card: Intel ICH5
L:Chip: Avance Logic ALC650 rev 0
L:
L:The problem I was having was that the spdif non-audio bit was not
L:being set.
L:This patch fixes that problem.
Jaroslav Kysela [Wed, 20 Aug 2003 23:29:35 +0000 (01:29 +0200)]
ALSA CVS update
D:2003/08/14 12:05:38
A:Takashi Iwai <tiwai@suse.de>
F:drivers/opl3/opl3_lib.c:1.17->1.18
F:isa/gus/gusclassic.c:1.10->1.11
F:isa/gus/gusextreme.c:1.10->1.11
F:isa/gus/gusmax.c:1.11->1.12
F:pci/azt3328.c:1.2->1.3
F:pci/cs4281.c:1.43->1.44
F:pci/ens1370.c:1.47->1.48
F:pci/es1938.c:1.26->1.27
F:pci/es1968.c:1.51->1.52
F:pci/sonicvibes.c:1.25->1.26
F:pci/via82xx.c:1.45->1.46
F:pci/cs46xx/cs46xx_lib.c:1.62->1.63
F:pci/ice1712/ice1712.c:1.32->1.33
F:pci/ice1712/ice1724.c:1.14->1.15
F:pci/trident/trident_main.c:1.45->1.46
F:pci/ymfpci/ymfpci_main.c:1.40->1.41
F:sparc/amd7930.c:1.6->1.7
F:sparc/cs4231.c:1.8->1.9
L:fixed the wrong order of object destruction:
L: a released object is referred after the *_free() call.
Jaroslav Kysela [Wed, 20 Aug 2003 23:16:53 +0000 (01:16 +0200)]
ALSA CVS update
D:2003/08/05 13:45:12
A:Takashi Iwai <tiwai@suse.de>
F:pci/es1968.c:1.46->1.47
L:- fixed corruption of stream linked list in the interrupt handler.
L:- clean up the unnecessary atomic_t and spinlocks.
Jaroslav Kysela [Wed, 20 Aug 2003 23:15:44 +0000 (01:15 +0200)]
ALSA CVS update
D:2003/08/05 13:43:10
A:Takashi Iwai <tiwai@suse.de>
F:pci/es1968.c:1.45->1.46
L:- rewritten the pm whitelist as a static list.
L:- added more pci subsystem ids to the whitelist.
Jaroslav Kysela [Wed, 20 Aug 2003 23:11:09 +0000 (01:11 +0200)]
ALSA CVS update
D:2003/07/30 15:39:38
A:Takashi Iwai <tiwai@suse.de>
F:pci/intel8x0.c:1.86->1.87
L:- improved the probe/resume function.
L: check only the valid codec bits in chip_init() during resume.
Jaroslav Kysela [Wed, 20 Aug 2003 23:09:57 +0000 (01:09 +0200)]
ALSA CVS update
D:2003/07/30 11:54:03
A:Takashi Iwai <tiwai@suse.de>
F:include/ac97_codec.h:1.30->1.31
F:pci/intel8x0.c:1.85->1.86
F:pci/via82xx.c:1.43->1.44
F:pci/ac97/ac97_codec.c:1.99->1.100
F:pci/ac97/ac97_patch.c:1.17->1.18
F:pci/ac97/ac97_patch.h:1.8->1.9
L:- added quirk type AC97_TUNE_AD_SHARING.
L:- added mask field to snd_ac97_quirk.
L:- new patch for AD1985. set more config bits for line/mic sharing.
L:- rewritten quirk table in C99 init style.
L:- more quirks for intel ICH5/AD1985 boards.
Jamie Lokier [Sun, 17 Aug 2003 10:56:06 +0000 (03:56 -0700)]
[PATCH] make NFS lockd port numbers assignable at run time
When writing firewall rules, and you are serving NFS, it's really
useful to know the port numbers of the various NFS services. nfsd has
a standard value; mountd and statd are userspace daemons, and those
ports are settable on the command line.
The fiddly one is lockd. nlm_udpport and nlm_tcpport can be set on
the kernel command line or at module load time, but after that it's a
bit awkward (particularly as the lockd module can't be unloaded safely
- "rmmod -f lockd" sometimes panics).
This patch allows the port numbers and the other lockd parameters to
be set through files in /proc/sys/fs/nfs/nlm_*. The port numbers take
effect when lockd is next started or restarted.
In order to install the sysctl table even when compiled into the
kernel, it was necessary to update the initialisation code to the
current methods, using module_init() et al. This patch does that and
in so doing updates the module/kernel parameters to use the 2.6
module_param() method, as well as making the numeric range changes
consistent between the two.
Jamie Lokier [Sun, 17 Aug 2003 10:55:58 +0000 (03:55 -0700)]
[PATCH] use simple_strtoul for unsigned kernel parameters
The largest "unsigned int" value doesn't fit in a "long", on many machines.
So we should use simple_strtoul, not simple_strtol, to decode these values.
Adam Belay [Sun, 17 Aug 2003 10:24:02 +0000 (03:24 -0700)]
[PATCH] Fix sb_card.c for "name" removal
This will correct the sb_card compile error from removing "name" from
"struct device".
I also decided to read the name from the card structure instead of the
device structure because, for isapnp devices, the card structure is more
likely to contain an appropriate name.
Sam Ravnborg [Sun, 17 Aug 2003 09:29:08 +0000 (02:29 -0700)]
[PATCH] Move config tasks to kconfig/Makefile
This fixes a bug with multiple targets.
Olaf Hering reported that the build failed for PowerPc if used like
this: make oldconfig zImage
The reason for this was that .config was not present for any targets
specified in arch/$(ARCH)/Makefile and below.
That's because .config would not be included when oldconfig is present
in the list of targets. The fix is to move handling of *config task to
the kconfig/Makefile. Furthermore the logic in top-level makefile has
changed a bit, creating a more logial structure. When building a fresh
kernel, the user is now told that .config is missing, not an anonymous
report that .config did not exist.
The error has survided this long because the targets used in i386/boot
in general does not use CONFIG_ symbols.
Doug Ledford [Sun, 17 Aug 2003 09:29:33 +0000 (05:29 -0400)]
Reserve the sys_prctl() numbers for and add the stub for allowing
programs to select whether they use statistical time accounting
or accurate timestamp based accounting.
Jeff Garzik [Sun, 17 Aug 2003 08:23:28 +0000 (04:23 -0400)]
[arcnet com20020] misc fixes
* com20020_close expects two arguments (and actually uses the
second argument), but the arcnet layer only passes one arg.
Fun ensues.
* Remove __devinit markers, this is a library module.
* Move request_region up in com20020_found, to make the call
occur before the first I/O access in the function.
Albert Cahalan [Sun, 17 Aug 2003 01:48:39 +0000 (18:48 -0700)]
[PATCH] fast AND correct strncpy
This is Erik Andersen's excellent strncpy.
It works like magic. That "if" isn't a jump;
gcc uses a few integer instructions to wipe
out all jumps except for the loop itself and
the function call/return.
This has been exhaustively tested against glibc.
The existing code has 5 extra branches and
is over twice as large. (my gcc, etc.)
Dave Olien [Sun, 17 Aug 2003 01:42:26 +0000 (18:42 -0700)]
[PATCH] DAC960 fix for NULL dereference in open()
This fixes a problem that's been hidden for a while.
DAC960_open() will try to dereference a NULL pointer if an application
opens (for example) /dev/rd/c0d12 when there has never been a logical
device created for that file.
The scsi ones are already gone in jejb's tree, I'll post a patch
to kill the struct fields once the scsi tree and this patch end
up merged in mainline.
A recent patch from James had incorrect PCI IDs for a few Radeon
chips (the Radeon M9 chips Ld,Le,Lf and Lg, he used the IDs of the
Id,Ie,If and Ig instead).
This fixes that and group the properly by family (those got a bit
shuffled around lately).
The irda tty line discipline does not handle the new module
paradigm well. This patch fixes that:
- initialize line discipline as data, not with code
- set module owner
- make prototype for irtty_ioctl match expected
arguments from tty discipline
- get rid of explicit MOD_INC/MOD_DEC
Working on converting IRDA to new netdevice semantics, this is the first
of some of the small things I found.
The irtty hashbin is created, maintained and never used.
Motivation for removing is that the hashbin locking has problems with
the locking assumptions in on network device removal.
Now that unregister_sysfs got smaller, just eliminate it and call
class_device_unregister directly. netdev_finish_unregister is called
one place, therefore it is easier to understand if we just put those
few lines into wait_allrefs state machine.
[NET]: net-sysfs - use attribute group instead of kobject for statistics.
Net statistics were in a kobject only because there was no better way
to create a directory. Latest 2.6.0-test3 bk tree, has merged in
Pat's change to provide 'attribute groups'.
This patch converts netdevice's from a statistic's kobject to attribute
group. This is cleaner and fixes some shutdown unload issues as well.
- define format strings once rather than N times
- add GNU license that I forgot in original code
- move read_lock out from format_address to show_address so
device is alive test is inside of lock.
Kyle McMartin [Sat, 16 Aug 2003 00:36:53 +0000 (17:36 -0700)]
[IPSEC]: Add support for Twofish and Serpent.
This patch adds support for the use of twofish and serpent as
ESP algorithms. The ESP index numbers given are in accordance
with RFC2407, draft-ietf-ipsec-ciph-aes-cbc-00 (before Rijndael
was selected), and KAME which assigns 253 to twofishcbc.
Support for using twofish was requested on linux-kernel, and
since I noticed serpent was missing too, included that as well.