Commit 0ceb4137 authored by Jaroslav Kysela's avatar Jaroslav Kysela

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.
parent ea32dc50
...@@ -992,8 +992,8 @@ Module parameters ...@@ -992,8 +992,8 @@ Module parameters
[VIA686A/686B only] [VIA686A/686B only]
ac97_clock - AC'97 codec clock base (default 48000Hz) ac97_clock - AC'97 codec clock base (default 48000Hz)
dxs_support - support DXS channels, dxs_support - support DXS channels,
0 = auto (default), 1 = enable, 2 = disable, 0 = auto, 1 = enable, 2 = disable,
3 = 48k only 3 = 48k only (default)
[VIA8233/C,8235 only] [VIA8233/C,8235 only]
Module supports autoprobe and multiple bus-master chips (max 8). Module supports autoprobe and multiple bus-master chips (max 8).
...@@ -1007,11 +1007,9 @@ Module parameters ...@@ -1007,11 +1007,9 @@ Module parameters
Note: VIA8233/5 (not VIA8233A) can support DXS (direct sound) Note: VIA8233/5 (not VIA8233A) can support DXS (direct sound)
channels as the first PCM. With this device, up to 4 channels as the first PCM. With this device, up to 4
streams can be played at the same time. On some motherboards, streams can be played at the same time. On some motherboards,
these channels don't work properly due to the bug of BIOS. these channels don't work properly except for 48k due to the
If you experience that the playback on this PCM is noisy, bug of BIOS. For supporting other sample rates, try to
try to specify dxs_support option to 2 or 3. In most cases specify dxs_support=0.
dxs_support=3 would suffice, so you can keep the multi-play
capability.
Note: for the MPU401 on VIA823x, use snd-mpu401 driver Note: for the MPU401 on VIA823x, use snd-mpu401 driver
additonally. The mpu_port option is for VIA686 chips only. additonally. The mpu_port option is for VIA686 chips only.
......
...@@ -74,7 +74,7 @@ static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ ...@@ -74,7 +74,7 @@ static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */ static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1}; static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1};
static int ac97_clock[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 48000}; static int ac97_clock[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 48000};
static int dxs_support[SNDRV_CARDS]; static int dxs_support[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 3};
MODULE_PARM(index, "1-" __MODULE_STRING(SNDRV_CARDS) "i"); MODULE_PARM(index, "1-" __MODULE_STRING(SNDRV_CARDS) "i");
MODULE_PARM_DESC(index, "Index value for VIA 82xx bridge."); MODULE_PARM_DESC(index, "Index value for VIA 82xx bridge.");
...@@ -2083,7 +2083,7 @@ module_exit(alsa_card_via82xx_exit) ...@@ -2083,7 +2083,7 @@ module_exit(alsa_card_via82xx_exit)
#ifndef MODULE #ifndef MODULE
/* format is: snd-via82xx=enable,index,id, /* format is: snd-via82xx=enable,index,id,
mpu_port,ac97_clock */ mpu_port,ac97_clock,dxs_support */
static int __init alsa_card_via82xx_setup(char *str) static int __init alsa_card_via82xx_setup(char *str)
{ {
...@@ -2095,7 +2095,8 @@ static int __init alsa_card_via82xx_setup(char *str) ...@@ -2095,7 +2095,8 @@ static int __init alsa_card_via82xx_setup(char *str)
get_option(&str,&index[nr_dev]) == 2 && get_option(&str,&index[nr_dev]) == 2 &&
get_id(&str,&id[nr_dev]) == 2 && get_id(&str,&id[nr_dev]) == 2 &&
get_option(&str,(int *)&mpu_port[nr_dev]) == 2 && get_option(&str,(int *)&mpu_port[nr_dev]) == 2 &&
get_option(&str,&ac97_clock[nr_dev]) == 2); get_option(&str,&ac97_clock[nr_dev]) == 2 &&
get_option(&str,&dxs_support[nr_dev]) == 2);
nr_dev++; nr_dev++;
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment