Paul Mackerras [Sat, 27 Sep 2003 09:07:22 +0000 (19:07 +1000)]
PPC32: Adjust ucontext to conform with historical practice and with glibc.
This moves the uc_sigmask field back to where it was before. We now don't
assume the registers are at a fixed offset in the ucontext, but instead
access them through the uc_regs field as in the past. This corresponds with
a recent change in glibc CVS.
This fixes a few x86-64 issues that have crept in and broke bootup.
- Disable -funit-at-a-time. It breaks symbol exports with gcc 3.3.1-hammer.
- Fix sched_clock to not access HPET. The new scheduler uses it more
extensively and it is not mapped early enough. I opted to just
disable the HPET access, because even a slightly non monotonous TSC
should be accurate enough for scheduling purposes.
- Fixes for separate objdirs by Arnd Bergmann
- Fix two warnings that have crept in
Neil Brown [Thu, 25 Sep 2003 14:33:45 +0000 (07:33 -0700)]
[PATCH] Fix up initialisation of md devices
Previously, we called blk_queue_make_request(q,mddev->pers->make_request)
*before* calling mddev->pers->run(), but this left a hole in which the
device could be accessed before it was initialised.
So we moved blk_queue_make_request to *after* ->pers->run(), but now some
of the initialisation done in ->run is over-written by blk_queue_make_request(),
particularly limits like ->max_sectors.
So now, we just open-code the one line of blk_queue_make_request that we
need at this point.
All the rest has been done by a separate called to blk_queue_make_request,
either when the mddev was first allocated, or when a previous incarnation
of the device was stopped.
This fixes "bio too big" error that occured due to max_sectors being too large.
Don't know if the patch I released few days ago was still
applied. This is a minor revision of that patch which converts
saa9730 to spinlocks thus removing save_and_cli() and
restore_flags() calls.
If baycom driver has never been opened, it will attempt to free
an IRQ that it never registered when removed. The problem is that hdlcdrv
does not keep track of open/close state.
Update baycom drivers for 2.6.0-test5
- get rid of MOD_INC/DEC
(looked into hdlcdrv_ops and don't need to have owner field because
baycom drivers unregister on unload).
- use alloc_netdev instead of static device structures.
- hdlcdrv_register returns device instead of getting passed one.
- put private data in space allocated at dev->priv in alloc_netdev
- shorten name of hdlcdrv_register_hdlcdrv to hdlcdrv_register
I don't have actual baycom hardware, but driver builds and loads/unloads.
Real hardware initialization doesn't happen until open.
The first one is the important patch, the other three are just code review
type cleanups.
Convert bogus test_and_set local wait, to a real spin_lock so it
has a chance of working on an SMP. This also does the right thing
and locks out interrupts while giving commands on UP; maybe the
comment in Kconfig was because there was never a proper mutex...
Don't have real hardware to try this, but it can't be worse than
the previous code.
[PATCH] (1/8) arlan -- merge arlan-proc with main code
The arlan driver tries to build it's /proc interface into a separate module,
which leads to circular dependencies and other ugliness. This patch
moves arlan.c to arlan-main.c and changes initialization builds one module arlan.o
James Bottomley [Thu, 25 Sep 2003 07:41:58 +0000 (00:41 -0700)]
[PATCH] fix smc-mca cleanup breakage
The latest set of smc-mca fixes broke the driver. Apparently, it wasn't
realised that request_region() actually returns a pointer to the region
you're requesting if it can. Without this fix, the smc-mca cannot
attach to any device.
Jaroslav Kysela [Thu, 25 Sep 2003 17:40:14 +0000 (19:40 +0200)]
ALSA CVS update
D:2003/09/24 14:12:50
C:USB generic driver
A:Takashi Iwai <tiwai@suse.de>
F:usb/usbaudio.c:1.64->1.65
F:usb/usbmixer.c:1.22->1.23
L:- don't create controls from selector units with a single content.
L:- suppress the error if async-out or adaptive-in has only one EP.
L: don't create a sync pipe in this case.
Jaroslav Kysela [Thu, 25 Sep 2003 17:26:24 +0000 (19:26 +0200)]
ALSA CVS update
D:2003/09/17 13:42:05
C:VIA82xx driver
A:Takashi Iwai <tiwai@suse.de>
F:pci/via82xx.c:1.50->1.51
L:- allow VAR for multi-channel stream.
L:- use 48k only for DXS #3 on VIA8233A.
Jaroslav Kysela [Thu, 25 Sep 2003 17:25:21 +0000 (19:25 +0200)]
ALSA CVS update
D:2003/09/16 17:34:48
C:ALSA<-OSS emulation
A:Takashi Iwai <tiwai@suse.de>
F:core/oss/pcm_plugin.c:1.16->1.17
F:core/oss/pcm_plugin.h:1.5->1.6
L:- fixed the debug print for the recent gcc.
L:- fixed the missing initialization of the recording frame size through
L: plugin. the problem of zero-size read with the rate plugin should
L: be fixed now.
Jaroslav Kysela [Thu, 25 Sep 2003 17:20:43 +0000 (19:20 +0200)]
ALSA CVS update
D:2003/09/11 10:34:48
C:Serial BUS drivers,ICE1724 driver
A:Takashi Iwai <tiwai@suse.de>
F:i2c/other/ak4xxx-adda.c:1.5->1.6
F:pci/ice1712/revo.c:1.3->1.4
L:- fixed the reset of AK4355 codec.
L: the surround sounds on m-audio revo 7.1 should work now.
L:- write to only the register image instead of i/o writing in
L: change the clock mode on AK codecs of revo board.
L:- fixed the non-cleared memory.
Jaroslav Kysela [Thu, 25 Sep 2003 17:19:58 +0000 (19:19 +0200)]
ALSA CVS update
D:2003/09/10 19:01:16
C:ICE1724 driver
A:Takashi Iwai <tiwai@suse.de>
F:pci/ice1712/ice1724.c:1.17->1.18
L:fixed the rate locking bug: the rate locking couldn't be changed any more
L:once if iec958 input is chosen.
Jaroslav Kysela [Thu, 25 Sep 2003 17:19:15 +0000 (19:19 +0200)]
ALSA CVS update
D:2003/09/10 17:26:26
C:ICE1724 driver
A:Takashi Iwai <tiwai@suse.de>
F:pci/ice1712/ice1724.c:1.16->1.17
L:use SIZE register to get the current DMA position.
L:this register seems more reliable than BASE register.
Jaroslav Kysela [Thu, 25 Sep 2003 17:17:11 +0000 (19:17 +0200)]
ALSA CVS update
D:2003/09/05 18:46:42
C:Intel8x0 driver
A:Takashi Iwai <tiwai@suse.de>
F:pci/intel8x0.c:1.90->1.91
L:- check CIV register to sync the current index position.
L: this may fix the noisy output on machines with sloppy interrupts.
Jaroslav Kysela [Thu, 25 Sep 2003 17:16:48 +0000 (19:16 +0200)]
ALSA CVS update
D:2003/09/04 19:45:26
C:HWDEP Midlevel
A:Jaroslav Kysela <perex@suse.cz>
F:core/hwdep.c:1.19->1.20
L:Use try_module_get() and module_put() to block the toplevel module
L:Fixed returned error code in the release() callback
Jaroslav Kysela [Thu, 25 Sep 2003 16:54:05 +0000 (18:54 +0200)]
ALSA CVS update
D:2003/09/02 19:07:31
C:Intel8x0 driver
A:Takashi Iwai <tiwai@suse.de>
F:pci/intel8x0.c:1.89->1.90
L:- set 48k only for the sample rate of SPDIF on nForce.
Jaroslav Kysela [Thu, 25 Sep 2003 16:43:54 +0000 (18:43 +0200)]
ALSA CVS update
D:2003/09/01 10:20:56
C:ICE1712 driver
A:Takashi Iwai <tiwai@suse.de>
F:pci/ice1712/aureon.c:1.2->1.3
L:fixed the SPDIF bit on aureon boards.
L:spdif out should work now.
Jaroslav Kysela [Thu, 25 Sep 2003 16:37:18 +0000 (18:37 +0200)]
ALSA CVS update
D:2003/08/29 10:22:27
C:EMU10K1/EMU10K2 driver
A:Takashi Iwai <tiwai@suse.de>
F:include/emu10k1.h:1.30->1.31
F:pci/emu10k1/emu10k1.c:1.20->1.21
F:pci/emu10k1/emufx.c:1.37->1.38
F:pci/emu10k1/emupcm.c:1.21->1.22
L:Peter Zubaj <pzad@pobox.sk>:
L:- Added the support of AC3 passthrough on Audigy.
L:
L:James Courtier-Dutton <James@superbug.demon.co.uk>:
L:- Use different driver name for Audigy2.
Jaroslav Kysela [Thu, 25 Sep 2003 16:33:24 +0000 (18:33 +0200)]
ALSA CVS update
D:2003/08/28 16:36:44
C:AC97 Codec Core
A:Takashi Iwai <tiwai@suse.de>
F:include/ac97_codec.h:1.32->1.33
F:pci/ac97/ac97_codec.c:1.102->1.103
F:pci/ac97/ac97_patch.c:1.20->1.21
L:- added the detection of revision of ALC650 chip by
L: James Courtier-Dutton <James@superbug.demon.co.uk>
L:- fixed the patch_alc650() to refer to the detected revision.
L:- detect the availability of stereo mute bits in snd_ac97_cmute_new().
Jaroslav Kysela [Thu, 25 Sep 2003 16:29:48 +0000 (18:29 +0200)]
ALSA CVS update
D:2003/08/28 16:07:26
C:Documentation,VIA82xx driver
A:Takashi Iwai <tiwai@suse.de>
F:Documentation/ALSA-Configuration.txt:1.16->1.17
F:pci/via82xx.c:1.47->1.48
L:- added the check of DXS supports (so far, empty).
L: the default value of dxs_support is again 0.
L:- fixed the description.
Jaroslav Kysela [Thu, 25 Sep 2003 16:24:04 +0000 (18:24 +0200)]
ALSA CVS update
D:2003/08/27 17:17:31
C:AC97 Codec Core
A:Takashi Iwai <tiwai@suse.de>
F:include/ac97_codec.h:1.31->1.32
F:pci/ac97/ac97_codec.c:1.101->1.102
F:pci/ac97/ac97_local.h:1.1->1.2
F:pci/ac97/ac97_patch.c:1.19->1.20
L:- added the support for stereo mute switches on AD198x.
L:- clean up of creation routines of normal stereo controls.
Jaroslav Kysela [Thu, 25 Sep 2003 16:21:57 +0000 (18:21 +0200)]
ALSA CVS update
D:2003/08/27 17:12:03
C:Documentation,VIA82xx driver
A:Takashi Iwai <tiwai@suse.de>
F:Documentation/ALSA-Configuration.txt:1.15->1.16
F:pci/via82xx.c:1.46->1.47
L:- use dxs_support=3 (48k fixed) as default, since there are so many problems
L: with dxs_support=0.
L:- added kernel boot parameter for dxs_support option.