Update of /cvsroot/alsa/alsa-kernel/include
In directory sc8-pr-cvs1:/tmp/cvs-serv15504/include

Modified Files:
        ac97_codec.h 
Log Message:
- added quirk type AC97_TUNE_AD_SHARING.
- added mask field to snd_ac97_quirk.
- new patch for AD1985.  set more config bits for line/mic sharing.
- rewritten quirk table in C99 init style.
- more quirks for intel ICH5/AD1985 boards.



Index: ac97_codec.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/include/ac97_codec.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ac97_codec.h        19 Jun 2003 20:15:33 -0000      1.30
+++ ac97_codec.h        30 Jul 2003 10:54:03 -0000      1.31
@@ -345,13 +345,20 @@
 void snd_ac97_resume(ac97_t *ac97);
 #endif
 
-enum { AC97_TUNE_HP_ONLY, AC97_TUNE_SWAP_HP, AC97_TUNE_SWAP_SURROUND };
+/* quirk types */
+enum {
+       AC97_TUNE_HP_ONLY,      /* headphone (true line-out) control as master only */
+       AC97_TUNE_SWAP_HP,      /* swap headphone and master controls */
+       AC97_TUNE_SWAP_SURROUND, /* swap master and surround controls */
+       AC97_TUNE_AD_SHARING    /* for AD1985, turn on OMS bit and use headphone */
+};
 
 struct ac97_quirk {
-       unsigned short vendor;
-       unsigned short device;
-       const char *name;
-       int type;
+       unsigned short vendor;  /* PCI vendor id */
+       unsigned short device;  /* PCI device id */
+       unsigned short mask;    /* device id bit mask, 0 = accept all */
+       const char *name;       /* name shown as info */
+       int type;               /* quirk type above */
 };
 
 int snd_ac97_tune_hardware(ac97_t *ac97, struct ac97_quirk *quirk);



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to