Update of /cvsroot/alsa/alsa-kernel/pci In directory sc8-pr-cvs1:/tmp/cvs-serv13973/pci
Modified Files: via82xx.c Log Message: - use dxs_support=3 (48k fixed) as default, since there are so many problems with dxs_support=0. - added kernel boot parameter for dxs_support option. Index: via82xx.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- via82xx.c 14 Aug 2003 11:05:38 -0000 1.46 +++ via82xx.c 27 Aug 2003 16:12:03 -0000 1.47 @@ -74,7 +74,7 @@ static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */ static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1}; 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_DESC(index, "Index value for VIA 82xx bridge."); @@ -2083,7 +2083,7 @@ #ifndef MODULE /* 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) { @@ -2095,7 +2095,8 @@ get_option(&str,&index[nr_dev]) == 2 && get_id(&str,&id[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++; return 1; } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog