/** * This file was generated from the ini files of * * Title : Audio: SIGMATEL STAC 92XX C-Major HD Audio Driver * Version : A08 * OEM Name : SIGMATEL * OEM Ver : 5.10.0.5401 * Computers : Latitude: ATG D630, D430, D531, D630, D631, D830; Precision: M4300; Vostro Notebook: 1000 * OS : Windows 2000,Windows XP,Windows XP x64 * Languages : Brazilian Portuguese, Chinese-S, Chinese-T, English, French, German, Japanese, Korean, Spanish * Created : Wednesday, July 11, 2007 **/ #ifndef PATCH_SIGMATEL_DELL_H #define PATCH_SIGMATEL_DELL_H // perl nid hash: 0x080x090x0d0x0e0x0f0x100x110x12 // matches to: stac9200 static hda_nid_t stac9200_pin_nids[8] = { 0x08, 0x09, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, }; // perl nid hash: 0x0a0x0b0x0c0x0d0x0e0x0f0x140x160x210x22 // matches to: stac_92xx_dell_m41 static hda_nid_t stac_92xx_dell_m41_pin_nids[10] = { 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x14, 0x16, 0x21, 0x22, }; // perl nid hash: 0x0a0x0b0x0c0x0d0x0e0x0f0x140x160x170x180x210x22 // matches to: stac9205 static hda_nid_t stac9205_pin_nids[12] = { 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x14, 0x16, 0x17, 0x18, 0x21, 0x22, }; // perl nid hash: 0x0a0x0b0x0c0x0d0x0e0x0f0x100x110x150x1b // matches to: stac922x static hda_nid_t stac922x_pin_nids[10] = { 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x15, 0x1b, }; // perl nid hash: 0x0a0x0b0x0c0x0d0x0e0x0f0x100x110x120x130x140x210x22 // matches to: stac_92xx_dell_m83 static hda_nid_t stac_92xx_dell_m83_pin_nids[13] = { 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x21, 0x22, }; static unsigned int stac_9200_dell_m21_pin_configs[8] = { 0x40c003fa, 0x03441340, 0x0321121f, 0x90170310, 0x408003fb, 0x03a1102e, 0x401003fc, 0x403003fd, }; static unsigned int stac_9200_dell_m22_pin_configs[8] = { 0x40c003fa, 0x01441340, 0x0321121f, 0x90170310, 0x90a70320, 0x03a1102e, 0x401003fb, 0x403003fc, }; static unsigned int stac_9200_dell_m23_pin_configs[8] = { 0x40c003fa, 0x01441340, 0x0421121f, 0x90170310, 0x408003fb, 0x04a1102e, 0x90170311, 0x403003fc, }; static unsigned int stac_9200_dell_m24_pin_configs[8] = { 0x40c003fa, 0x404003fb, 0x0321121f, 0x90170310, 0x408003fc, 0x03a1102e, 0x401003fd, 0x403003fe, }; static unsigned int stac_9200_dell_m25_pin_configs[8] = { 0x40c003fa, 0x01441340, 0x0421121f, 0x90170310, 0x408003fb, 0x04a1102e, 0x401003fc, 0x403003fd, }; static unsigned int stac_9200_dell_m26_pin_configs[8] = { 0x40c003fa, 0x404003fb, 0x0421121f, 0x90170310, 0x408003fc, 0x04a1102e, 0x401003fd, 0x403003fe, }; static unsigned int stac_9200_dell_m27_pin_configs[8] = { 0x40c003fa, 0x01441340, 0x0421121f, 0x90170310, 0x408003fb, 0x04a1102e, 0x90170311, 0x403003fc, }; static unsigned int stac_9200_dell_m28_pin_configs[8] = { 0x40c003fa, 0x01441340, 0x0321121f, 0x90170310, 0x90a70320, 0x03a1102e, 0x401003fb, 0x403003fc, }; static unsigned int stac_9200_dell_m29_pin_configs[8] = { 0x40c003fa, 0x404003fb, 0x0421121f, 0x90170310, 0x408003fc, 0x04a1102e, 0x401003fd, 0x403003fe, }; static unsigned int stac_9200_dell_nom_m28_pin_configs[8] = { 0x40c003fa, 0x01441340, 0x0321121f, 0x90170310, 0x400003f1, 0x400003f2, 0x401003fb, 0x403003fc, }; static unsigned int stac_92xx_dell_m83_pin_configs[13] = { 0x02211210, 0x400003fa, 0x400003fb, 0x90170310, 0x0281103e, 0x0221122f, 0x400003fc, 0x400003fd, 0x400003fe, 0x90a60330, 0x400003ff, 0x04441340, 0x40c003f1, }; static unsigned int stac_92xx_dell_m84_pin_configs[13] = { 0x02211210, 0x400003fa, 0x400003fb, 0x90170310, 0x0281103e, 0x0221122f, 0x400003fc, 0x400003fd, 0x400003fe, 0x90a60330, 0x400003ff, 0x01441340, 0x40c003f1, }; static unsigned int stac_92xx_dell_m85_pin_configs[13] = { 0x02211210, 0x400003fa, 0x400003fb, 0x90170310, 0x0281103e, 0x0221122f, 0x400003fc, 0x400003fd, 0x400003fe, 0x400003f2, 0x400003ff, 0x01441340, 0x40c003f1, }; static unsigned int stac_92xx_dell_m86_pin_configs[13] = { 0x02211210, 0x400003fa, 0x400003fb, 0x90170310, 0x0281103e, 0x0221122f, 0x400003fc, 0x400003fd, 0x400003fe, 0x90a60330, 0x400003ff, 0x01441340, 0x40c003f1, }; static unsigned int stac_92xx_dell_nom_m83_pin_configs[13] = { 0x02211210, 0x400003fa, 0x400003fb, 0x90170310, 0x02111022, 0x0221122f, 0x400003fc, 0x400003fd, 0x400003fe, 0x400003f2, 0x400003f3, 0x04441340, 0x40c003f1, }; static unsigned int stac_92xx_dell_nom_m84_pin_configs[13] = { 0x02211210, 0x400003fa, 0x400003fb, 0x90170310, 0x02111022, 0x0221122f, 0x400003fc, 0x400003fd, 0x400003fe, 0x400003f2, 0x400003f3, 0x01441340, 0x40c003f1, }; static unsigned int stac_922x_dell_m81_pin_configs[10] = { 0x0321121f, 0x01112024, 0x01111222, 0x91174220, 0x03811032, 0x01116221, 0x01452340, 0x40c003f1, 0x90a70330, 0x405003f0, }; static unsigned int stac_922x_dell_m82_pin_configs[10] = { 0x02211210, 0x408103ff, 0x0281123e, 0x90100310, 0x408003f1, 0x0221122f, 0x03451340, 0x40c003f2, 0x508003f3, 0x405003f4, }; static unsigned int stac_9205_dell_m42_pin_configs[12] = { 0x0421101f, 0x04a1102e, 0x400003fa, 0x90170310, 0x400003fb, 0x400003fc, 0x400003fd, 0x400003fe, 0x90a60320, 0x400003ff, 0x01441340, 0x40c003f1, }; static unsigned int stac_9205_dell_m43_pin_configs[12] = { 0x0321101f, 0x03a1102e, 0x90a70320, 0x90170310, 0x400000fe, 0x400000ff, 0x400000fd, 0x400000fb, 0x400000fa, 0x400000fc, 0x01441340, 0x400000f9, }; static unsigned int stac_9205_dell_m44_pin_configs[12] = { 0x0421101f, 0x04a1102e, 0x400003fa, 0x90170310, 0x400003fb, 0x400003fc, 0x400003fd, 0x400003fe, 0x90a60320, 0x400003ff, 0x01441340, 0x40c003f1, }; static unsigned int stac_9205_dell_m45_pin_configs[12] = { 0x0321101f, 0x03a1102e, 0x90a70320, 0x90170310, 0x400000fe, 0x400000ff, 0x400000fd, 0x400000fb, 0x400000fa, 0x400000fc, 0x01441340, 0x400000f9, }; static unsigned int stac_9205_dell_nom_m42_pin_configs[12] = { 0x0321101f, 0x400003f2, 0x400003fa, 0x90170310, 0x400003fb, 0x400003fc, 0x400003fd, 0x400003fe, 0x400003f3, 0x400003ff, 0x01441340, 0x40c003f1, }; static unsigned int stac_9205_dell_nom_m43_pin_configs[12] = { 0x0321101f, 0x400003f8, 0x400003f7, 0x90170310, 0x400000fe, 0x400000ff, 0x400000fd, 0x400000fb, 0x400000fa, 0x400000fc, 0x01441340, 0x400000f9, }; static unsigned int stac_92xx_dell_m41_pin_configs[10] = { 0x0321101f, 0x03a1102e, 0x90a70320, 0x90170310, 0x400000fe, 0x400000ff, 0x400000fd, 0x400000fb, 0x01441340, 0x400000f9, }; enum { STAC_9200_DELL_M21, STAC_9200_DELL_M22, STAC_9200_DELL_M23, STAC_9200_DELL_M24, STAC_9200_DELL_M25, STAC_9200_DELL_M26, STAC_9200_DELL_M27, STAC_9200_DELL_M28, STAC_9200_DELL_M29, STAC_9200_DELL_NOM_M28, STAC_9200_DELL_MODELS }; enum { STAC_92XX_DELL_M83, STAC_92XX_DELL_M84, STAC_92XX_DELL_M85, STAC_92XX_DELL_M86, STAC_92XX_DELL_NOM_M83, STAC_92XX_DELL_NOM_M84, STAC_92XX_DELL_M83_MODELS }; enum { STAC_922X_DELL_M81, STAC_922X_DELL_M82, STAC_922X_DELL_MODELS }; enum { STAC_9205_DELL_M42, STAC_9205_DELL_M43, STAC_9205_DELL_M44, STAC_9205_DELL_M45, STAC_9205_DELL_NOM_M42, STAC_9205_DELL_NOM_M43, STAC_9205_DELL_MODELS }; enum { STAC_92XX_DELL_M41, STAC_92XX_DELL_M41_MODELS }; static unsigned int *stac_9200_dell_brd_tbl[STAC_9200_DELL_MODELS] = { [STAC_9200_DELL_M21] = stac_9200_dell_m21_pin_config, [STAC_9200_DELL_M22] = stac_9200_dell_m22_pin_config, [STAC_9200_DELL_M23] = stac_9200_dell_m23_pin_config, [STAC_9200_DELL_M24] = stac_9200_dell_m24_pin_config, [STAC_9200_DELL_M25] = stac_9200_dell_m25_pin_config, [STAC_9200_DELL_M26] = stac_9200_dell_m26_pin_config, [STAC_9200_DELL_M27] = stac_9200_dell_m27_pin_config, [STAC_9200_DELL_M28] = stac_9200_dell_m28_pin_config, [STAC_9200_DELL_M29] = stac_9200_dell_m29_pin_config, [STAC_9200_DELL_NOM_M28] = stac_9200_dell_nom_m28_pin_config, }; static unsigned int *stac_92xx_dell_m83_brd_tbl[STAC_92XX_DELL_M83_MODELS] = { [STAC_92XX_DELL_M83] = stac_92xx_dell_m83_pin_config, [STAC_92XX_DELL_M84] = stac_92xx_dell_m84_pin_config, [STAC_92XX_DELL_M85] = stac_92xx_dell_m85_pin_config, [STAC_92XX_DELL_M86] = stac_92xx_dell_m86_pin_config, [STAC_92XX_DELL_NOM_M83] = stac_92xx_dell_nom_m83_pin_config, [STAC_92XX_DELL_NOM_M84] = stac_92xx_dell_nom_m84_pin_config, }; static unsigned int *stac_922x_dell_brd_tbl[STAC_922X_DELL_MODELS] = { [STAC_922X_DELL_M81] = stac_922x_dell_m81_pin_config, [STAC_922X_DELL_M82] = stac_922x_dell_m82_pin_config, }; static unsigned int *stac_9205_dell_brd_tbl[STAC_9205_DELL_MODELS] = { [STAC_9205_DELL_M42] = stac_9205_dell_m42_pin_config, [STAC_9205_DELL_M43] = stac_9205_dell_m43_pin_config, [STAC_9205_DELL_M44] = stac_9205_dell_m44_pin_config, [STAC_9205_DELL_M45] = stac_9205_dell_m45_pin_config, [STAC_9205_DELL_NOM_M42] = stac_9205_dell_nom_m42_pin_config, [STAC_9205_DELL_NOM_M43] = stac_9205_dell_nom_m43_pin_config, }; static unsigned int *stac_92xx_dell_m41_brd_tbl[STAC_92XX_DELL_M41_MODELS] = { [STAC_92XX_DELL_M41] = stac_92xx_dell_m41_pin_config, }; static struct snd_pci_quirk stac_9200_dell_cfg_tbl[] = { SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01b5, "Unknown Dell", STAC_9200_DELL_M21), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01d8, "Unknown Dell", STAC_9200_DELL_M21), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01c2, "Unknown Dell", STAC_9200_DELL_M22), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01c8, "Unknown Dell", STAC_9200_DELL_M22), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01cc, "Unknown Dell", STAC_9200_DELL_M22), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01d4, "Unknown Dell", STAC_9200_DELL_M22), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01d6, "Unknown Dell", STAC_9200_DELL_M22), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01ce, "Unknown Dell", STAC_9200_DELL_M23), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01cf, "Unknown Dell", STAC_9200_DELL_M23), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01c9, "Unknown Dell", STAC_9200_DELL_M24), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01ca, "Unknown Dell", STAC_9200_DELL_M24), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01cb, "Unknown Dell", STAC_9200_DELL_M24), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01d3, "Unknown Dell", STAC_9200_DELL_M24), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01bd, "Unknown Dell", STAC_9200_DELL_M25), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01ee, "Unknown Dell", STAC_9200_DELL_M25), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01ef, "Unknown Dell", STAC_9200_DELL_M25), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01f6, "Unknown Dell", STAC_9200_DELL_M26), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01cd, "Unknown Dell", STAC_9200_DELL_M27), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0201, "Unknown Dell", STAC_9200_DELL_M28), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01f5, "Unknown Dell", STAC_9200_DELL_M29), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0218, "Unknown Dell", STAC_9200_DELL_NOM_M28), }; static struct snd_pci_quirk stac_92xx_dell_m83_cfg_tbl[] = { SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01f3, "Unknown Dell", STAC_92XX_DELL_M83), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0209, "Unknown Dell", STAC_92XX_DELL_M83), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x020a, "Unknown Dell", STAC_92XX_DELL_M83), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x020d, "Unknown Dell", STAC_92XX_DELL_M83), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x020e, "Unknown Dell", STAC_92XX_DELL_M83), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01f8, "Unknown Dell", STAC_92XX_DELL_M84), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0203, "Unknown Dell", STAC_92XX_DELL_M85), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01f7, "Unknown Dell", STAC_92XX_DELL_M86), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x021a, "Unknown Dell", STAC_92XX_DELL_NOM_M83), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x021c, "Unknown Dell", STAC_92XX_DELL_NOM_M84), }; static struct snd_pci_quirk stac_922x_dell_cfg_tbl[] = { SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01bf, "Unknown Dell", STAC_922X_DELL_M81), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01d7, "Unknown Dell", STAC_922X_DELL_M82), }; static struct snd_pci_quirk stac_9205_dell_cfg_tbl[] = { SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0204, "Unknown Dell", STAC_9205_DELL_M42), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01f9, "Unknown Dell", STAC_9205_DELL_M43), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01fa, "Unknown Dell", STAC_9205_DELL_M43), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01fe, "Unknown Dell", STAC_9205_DELL_M43), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01ff, "Unknown Dell", STAC_9205_DELL_M43), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0206, "Unknown Dell", STAC_9205_DELL_M43), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01f1, "Unknown Dell", STAC_9205_DELL_M44), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01f2, "Unknown Dell", STAC_9205_DELL_M44), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01fc, "Unknown Dell", STAC_9205_DELL_M44), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01fd, "Unknown Dell", STAC_9205_DELL_M44), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x021f, "Unknown Dell", STAC_9205_DELL_M44), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0200, "Unknown Dell", STAC_9205_DELL_M45), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0217, "Unknown Dell", STAC_9205_DELL_NOM_M42), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0212, "Unknown Dell", STAC_9205_DELL_NOM_M43), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0213, "Unknown Dell", STAC_9205_DELL_NOM_M43), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0216, "Unknown Dell", STAC_9205_DELL_NOM_M43), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x0219, "Unknown Dell", STAC_9205_DELL_NOM_M43), SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x021b, "Unknown Dell", STAC_9205_DELL_NOM_M43), }; static struct snd_pci_quirk stac_92xx_dell_m41_cfg_tbl[] = { SND_PCI_QUIRK[PCI_VENDOR_ID_DELL, 0x01e9, "Unknown Dell", STAC_92XX_DELL_M41), }; #endif