[alsa-cvslog] CVS: alsa-kernel/pci/ice1712 ice1724.c,1.23,1.24

2004-02-02 Thread Takashi Iwai
Update of /cvsroot/alsa/alsa-kernel/pci/ice1712
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29589

Modified Files:
ice1724.c 
Log Message:
Davy Wentzler [EMAIL PROTECTED]:

- fixed the access in trigger callback to byte access.
  (may fix the problem on ppc.)



Index: ice1724.c
===
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/ice1724.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- ice1724.c   21 Jan 2004 18:32:47 -  1.23
+++ ice1724.c   2 Feb 2004 13:47:55 -   1.24
@@ -295,8 +295,8 @@
 static int snd_vt1724_pcm_trigger(snd_pcm_substream_t *substream, int cmd)
 {
ice1712_t *ice = snd_pcm_substream_chip(substream);
-   unsigned int what;
-   unsigned int old;
+   unsigned char what;
+   unsigned char old;
struct list_head *pos;
snd_pcm_substream_t *s;
 
@@ -316,12 +316,12 @@
what |= VT1724_RDMA1_PAUSE;
}
spin_lock(ice-reg_lock);
-   old = inl(ICEMT1724(ice, DMA_PAUSE));
+   old = inb(ICEMT1724(ice, DMA_PAUSE));
if (cmd == SNDRV_PCM_TRIGGER_PAUSE_PUSH)
old |= what;
else
old = ~what;
-   outl(old, ICEMT1724(ice, DMA_PAUSE));
+   outb(old, ICEMT1724(ice, DMA_PAUSE));
spin_unlock(ice-reg_lock);
break;
 
@@ -346,12 +346,12 @@
}
}
spin_lock(ice-reg_lock);
-   old = inl(ICEMT1724(ice, DMA_CONTROL));
+   old = inb(ICEMT1724(ice, DMA_CONTROL));
if (cmd == SNDRV_PCM_TRIGGER_START)
old |= what;
else
old = ~what;
-   outl(old, ICEMT1724(ice, DMA_CONTROL));
+   outb(old, ICEMT1724(ice, DMA_CONTROL));
spin_unlock(ice-reg_lock);
break;
 



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog


[alsa-cvslog] CVS: alsa-kernel/pci intel8x0.c,1.108,1.109

2004-02-02 Thread Takashi Iwai
Update of /cvsroot/alsa/alsa-kernel/pci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2553

Modified Files:
intel8x0.c 
Log Message:
- added the ac97 quirks for amd64 mobo and MSI P4 ATX 645.




Index: intel8x0.c
===
RCS file: /cvsroot/alsa/alsa-kernel/pci/intel8x0.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- intel8x0.c  27 Jan 2004 13:05:32 -  1.108
+++ intel8x0.c  2 Feb 2004 15:10:14 -   1.109
@@ -1689,6 +1689,12 @@
.type = AC97_TUNE_HP_ONLY
},
{
+   .vendor = 0x10f1,
+   .device = 0x2885,
+   .name = AMD64 Mobo,   /* ALC650 */
+   .type = AC97_TUNE_HP_ONLY
+   },
+   {
.vendor = 0x110a,
.device = 0x0056,
.name = Fujitsu-Siemens Scenic,   /* AD1981? */
@@ -1701,6 +1707,12 @@
.type = AC97_TUNE_HP_ONLY
},
{
+   .vendor = 0x1462,
+   .device = 0x5470,
+   .name = MSI P4 ATX 645 Ultra,
+   .type = AC97_TUNE_HP_ONLY
+   },
+   {
.vendor = 0x1734,
.device = 0x0088,
.name = Fujitsu-Siemens D1522,/* AD1981 */



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog


[alsa-cvslog] CVS: alsa-kernel/pci via82xx.c,1.81,1.82

2004-02-02 Thread Takashi Iwai
Update of /cvsroot/alsa/alsa-kernel/pci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7461

Modified Files:
via82xx.c 
Log Message:
- fixed the dxs support of ASUS K8V.
- added a short delay in the codec read routine.



Index: via82xx.c
===
RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- via82xx.c   30 Jan 2004 11:48:08 -  1.81
+++ via82xx.c   2 Feb 2004 15:15:48 -   1.82
@@ -582,6 +582,7 @@
return 0x;
}
snd_via82xx_codec_xwrite(chip, xval);
+   udelay (20);
if (snd_via82xx_codec_valid(chip, ac97-num) = 0) {
udelay(25);
val = snd_via82xx_codec_xread(chip);
@@ -1979,7 +1980,7 @@
{ .vendor = 0x1019, .device = 0x0996, .action = VIA_DXS_48K },
{ .vendor = 0x1043, .device = 0x8095, .action = VIA_DXS_ENABLE }, /* 
ASUS A7V8X */
{ .vendor = 0x1043, .device = 0x80a1, .action = VIA_DXS_NO_VRA }, /* 
ASUS A7V8-X */
-   { .vendor = 0x1043, .device = 0x80b0, .action = VIA_DXS_ENABLE }, /* 
ASUS A7V600 */
+   { .vendor = 0x1043, .device = 0x80b0, .action = VIA_DXS_NO_VRA }, /* 
ASUS A7V600  K8V*/ 
{ .vendor = 0x10cf, .device = 0x118e, .action = VIA_DXS_ENABLE }, /* 
FSC laptop */
{ .vendor = 0x1106, .device = 0x4161, .action = VIA_DXS_NO_VRA }, /* 
ASRock K7VT2 */
{ .vendor = 0x1297, .device = 0xa232, .action = VIA_DXS_ENABLE }, /* 
Shuttle ?? */



---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog