All pastes #346445 Raw Edit

Something

public text v1 · immutable
·published 2007-02-09 11:34 UTC
rendered paste body
--- alsa-driver-1.0.14rc1/alsa-kernel/pci/hda/patch_sigmatel.c
+++ alsa-driver-1.0.14rc1/alsa-kernel/pci/hda/patch_sigmatel.c
@@ -38,6 +38,7 @@
 #define STAC_HP_EVENT		0x37
 
 #define STAC_REF		0
+#define STAC_DELL9400		1
 #define STAC_D945GTP3		1
 #define STAC_D945GTP5		2
 #define STAC_MACMINI		3
@@ -327,8 +328,15 @@
 	0x02a19020, 0x01a19021, 0x90100140, 0x01813122,
 };
 
+/* from my Dell e1705 BIOS configuration - bigfish@asmallpond.org */
+static unsigned int dell9400_pin_configs[8] = {
+	0x40c003fa, 0x01441340, 0x0421421f, 0x90170310,
+	0x408003fb, 0x04a1102e, 0x90170311, 0x403003fc,
+};
+
 static unsigned int *stac9200_brd_tbl[] = {
 	ref9200_pin_configs,
+	dell9400_pin_configs,
 };
 
 static struct hda_board_config stac9200_cfg_tbl[] = {
@@ -343,6 +351,8 @@
 	  .config = STAC_REF },	/* Dell Latitude D620 */
 	{ .pci_subvendor = PCI_VENDOR_ID_DELL, .pci_subdevice = 0x01cb,
 	  .config = STAC_REF },	/* Dell Latitude 120L */
+	{ .pci_subvendor = PCI_VENDOR_ID_DELL, .pci_subdevice = 0x01cd,
+	  .config = STAC_DELL9400 }, /* Dell Inspiron 9400/E1705 */
 	{} /* terminator */
 };