Update of /cvsroot/alsa/alsa-kernel/pci
In directory sc8-pr-cvs1:/tmp/cvs-serv20110
Modified Files:
via82xx.c
Log Message:
- fixed the detection of VIA8233A (it was overridden by dxs_support
option).
Index: via82xx.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- via82xx.c 23 Sep 2003 14:31:44 -0000 1.52
+++ via82xx.c 30 Sep 2003 10:12:09 -0000 1.53
@@ -2038,16 +2038,17 @@
break;
}
}
- if (dxs_support[dev] == VIA_DXS_AUTO)
- dxs_support[dev] = check_dxs_list(pci);
- /* force to use VIA8233 or 8233A model according to
- * dxs_support module option
- */
- if (dxs_support[dev] == VIA_DXS_DISABLE)
- chip_type = TYPE_VIA8233A;
- else
- chip_type = TYPE_VIA8233;
-
+ if (chip_type != TYPE_VIA8233A) {
+ if (dxs_support[dev] == VIA_DXS_AUTO)
+ dxs_support[dev] = check_dxs_list(pci);
+ /* force to use VIA8233 or 8233A model according to
+ * dxs_support module option
+ */
+ if (dxs_support[dev] == VIA_DXS_DISABLE)
+ chip_type = TYPE_VIA8233A;
+ else
+ chip_type = TYPE_VIA8233;
+ }
if (chip_type == TYPE_VIA8233A)
strcpy(card->driver, "VIA8233A");
else
-------------------------------------------------------
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