Skip to contentSkip to conversation

ac97: YMF743 missing controls support

PATCH In review Keita Maehara 1 participant 1 message Sep 18, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ac97: YMF743 missing controls support

From: Keita Maehara <[email protected]>

These patches enable some YMF743 controls (Tone/3D/IEC958) that won't be detected with the current version of ALSA.

---

The first one contains only cosmetic changes to share a few YMF753-specific symbols with YMF743.

include/ac97_codec.h +3 -3
diff -r 4a3f9f77e676 include/ac97_codec.h
@@ -345,9 +345,9 @@
 #define AC97_ALC650_GPIO_STATUS		0x78
 #define AC97_ALC650_CLOCK		0x7a
 
-/* specific - Yamaha YMF753 */
-#define AC97_YMF753_DIT_CTRL2	0x66	/* DIT Control 2 */
-#define AC97_YMF753_3D_MODE_SEL	0x68	/* 3D Mode Select */
+/* specific - Yamaha YMF7x3 */
+#define AC97_YMF7X3_DIT_CTRL	0x66	/* DIT Control (YMF743) / 2 (YMF753) */
+#define AC97_YMF7X3_3D_MODE_SEL	0x68	/* 3D Mode Select */
 
 /* specific - C-Media */
 #define AC97_CM9738_VENDOR_CTRL	0x5a
pci/ac97/ac97_patch.c +32 -32

151 lines not on this page · raw message