- Timestamp:
- Jul 11, 2010, 7:14:11 AM (15 years ago)
- Location:
- GPL/branches/uniaud32-2.1.x
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-2.1.x/alsa-kernel/core/pcm_memory.c
r499 r503 497 497 EXPORT_SYMBOL(snd_pcm_lib_get_vmalloc_page); 498 498 #endif 499 -
GPL/branches/uniaud32-2.1.x/alsa-kernel/pci/hda/hda_intel.c
r499 r503 32 32 * 33 33 * 2004.12.01 Major rewrite by tiwai, merged the work of pshou 34 * 34 * 35 35 */ 36 36 … … 355 355 #ifdef TARGET_OS2 356 356 volatile void __iomem *sd_addr; /* stream descriptor pointer */ 357 #else 357 #else 358 358 void __iomem *sd_addr; /* stream descriptor pointer */ 359 359 #endif … … 494 494 [AZX_DRIVER_ULI] = "HDA ULI M5461", 495 495 [AZX_DRIVER_NVIDIA] = "HDA NVidia", 496 [AZX_DRIVER_TERA] = "HDA Teradici", 496 [AZX_DRIVER_TERA] = "HDA Teradici", 497 497 [AZX_DRIVER_GENERIC] = "HD-Audio Generic", 498 498 }; … … 949 949 /* 950 950 * Lowlevel interface 951 */ 951 */ 952 952 953 953 /* enable interrupts */ … … 1090 1090 /* For ATI SB450 azalia HD audio, we need to enable snoop */ 1091 1091 update_pci_byte(chip->pci, 1092 ATI_SB450_HDAUDIO_MISC_CNTR2_ADDR, 1092 ATI_SB450_HDAUDIO_MISC_CNTR2_ADDR, 1093 1093 0x07, ATI_SB450_HDAUDIO_ENABLE_SNOOP); 1094 1094 break; … … 2799 2799 { PCI_DEVICE(0x10b9, 0x5461), .driver_data = AZX_DRIVER_ULI }, 2800 2800 /* NVIDIA MCP */ 2801 { PCI_DEVICE(0x10de, 0x03f0), .driver_data = AZX_DRIVER_NVIDIA }, 2801 2802 { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID), 2802 2803 .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8, -
GPL/branches/uniaud32-2.1.x/alsa-kernel/pci/hda/patch_sigmatel.c
r499 r503 544 544 545 545 static hda_nid_t stac9200_pin_nids[8] = { 546 0x08, 0x09, 0x0d, 0x0e, 546 0x08, 0x09, 0x0d, 0x0e, 547 547 0x0f, 0x10, 0x11, 0x12, 548 548 }; 549 549 550 550 static hda_nid_t stac925x_pin_nids[8] = { 551 0x07, 0x08, 0x0a, 0x0b, 551 0x07, 0x08, 0x0a, 0x0b, 552 552 0x0c, 0x0d, 0x10, 0x11, 553 553 }; … … 1212 1212 */ 1213 1213 static unsigned int dell9200_d21_pin_configs[8] = { 1214 0x400001f0, 0x400001f1, 0x02214030, 0x01014010, 1214 0x400001f0, 0x400001f1, 0x02214030, 0x01014010, 1215 1215 0x02a19020, 0x01a19021, 0x90100140, 0x01813122, 1216 1216 }; 1217 1217 1218 /* 1218 /* 1219 1219 STAC 9200 pin configs for 1220 1220 102801C0 … … 1222 1222 */ 1223 1223 static unsigned int dell9200_d22_pin_configs[8] = { 1224 0x400001f0, 0x400001f1, 0x0221401f, 0x01014010, 1224 0x400001f0, 0x400001f1, 0x0221401f, 0x01014010, 1225 1225 0x01813020, 0x02a19021, 0x90100140, 0x400001f2, 1226 1226 }; 1227 1227 1228 /* 1228 /* 1229 1229 STAC 9200 pin configs for 1230 1230 102801C4 (Dell Dimension E310) … … 1236 1236 */ 1237 1237 static unsigned int dell9200_d23_pin_configs[8] = { 1238 0x400001f0, 0x400001f1, 0x0221401f, 0x01014010, 1239 0x01813020, 0x01a19021, 0x90100140, 0x400001f2, 1240 }; 1241 1242 1243 /* 1238 0x400001f0, 0x400001f1, 0x0221401f, 0x01014010, 1239 0x01813020, 0x01a19021, 0x90100140, 0x400001f2, 1240 }; 1241 1242 1243 /* 1244 1244 STAC 9200-32 pin configs for 1245 1245 102801B5 (Dell Inspiron 630m) … … 1251 1251 }; 1252 1252 1253 /* 1253 /* 1254 1254 STAC 9200-32 pin configs for 1255 1255 102801C2 (Dell Latitude D620) 1256 102801C8 1256 102801C8 1257 1257 102801CC (Dell Latitude D820) 1258 102801D4 1259 102801D6 1258 102801D4 1259 102801D6 1260 1260 */ 1261 1261 static unsigned int dell9200_m22_pin_configs[8] = { 1262 0x40c003fa, 0x0144131f, 0x0321121f, 0x90170310, 1262 0x40c003fa, 0x0144131f, 0x0321121f, 0x90170310, 1263 1263 0x90a70321, 0x03a11020, 0x401003fb, 0x40f000fc, 1264 1264 }; 1265 1265 1266 /* 1266 /* 1267 1267 STAC 9200-32 pin configs for 1268 1268 102801CE (Dell XPS M1710) … … 1275 1275 1276 1276 /* 1277 STAC 9200-32 pin configs for 1277 STAC 9200-32 pin configs for 1278 1278 102801C9 1279 1279 102801CA … … 1282 1282 */ 1283 1283 static unsigned int dell9200_m24_pin_configs[8] = { 1284 0x40c003fa, 0x404003fb, 0x0321121f, 0x90170310, 1285 0x408003fc, 0x03a11020, 0x401003fd, 0x403003fe, 1284 0x40c003fa, 0x404003fb, 0x0321121f, 0x90170310, 1285 0x408003fc, 0x03a11020, 0x401003fd, 0x403003fe, 1286 1286 }; 1287 1287 … … 1293 1293 */ 1294 1294 static unsigned int dell9200_m25_pin_configs[8] = { 1295 0x40c003fa, 0x01441340, 0x0421121f, 0x90170310, 1295 0x40c003fa, 0x01441340, 0x0421121f, 0x90170310, 1296 1296 0x408003fb, 0x04a11020, 0x401003fc, 0x403003fd, 1297 1297 }; … … 1303 1303 */ 1304 1304 static unsigned int dell9200_m26_pin_configs[8] = { 1305 0x40c003fa, 0x404003fb, 0x0421121f, 0x90170310, 1305 0x40c003fa, 0x404003fb, 0x0421121f, 0x90170310, 1306 1306 0x408003fc, 0x04a11020, 0x401003fd, 0x403003fe, 1307 1307 }; … … 1799 1799 static unsigned int dell_922x_m81_pin_configs[10] = { 1800 1800 0x0321101f, 0x01112024, 0x01111222, 0x91174220, 1801 0x03a11050, 0x01116221, 0x90a70330, 0x01452340, 1801 0x03a11050, 0x01116221, 0x90a70330, 0x01452340, 1802 1802 0x40C003f1, 0x405003f0, 1803 1803 }; … … 1808 1808 */ 1809 1809 static unsigned int dell_922x_m82_pin_configs[10] = { 1810 0x02211211, 0x408103ff, 0x02a1123e, 0x90100310, 1811 0x408003f1, 0x0221121f, 0x03451340, 0x40c003f2, 1812 0x508003f3, 0x405003f4, 1810 0x02211211, 0x408103ff, 0x02a1123e, 0x90100310, 1811 0x408003f1, 0x0221121f, 0x03451340, 0x40c003f2, 1812 0x508003f3, 0x405003f4, 1813 1813 }; 1814 1814 … … 2003 2003 static unsigned int ref927x_pin_configs[14] = { 2004 2004 0x02214020, 0x02a19080, 0x0181304e, 0x01014010, 2005 0x01a19040, 0x01011012, 0x01016011, 0x0101201f, 2005 0x01a19040, 0x01011012, 0x01016011, 0x0101201f, 2006 2006 0x183301f0, 0x18a001f0, 0x18a001f0, 0x01442070, 2007 2007 0x01c42190, 0x40000100, … … 2465 2465 struct sigmatel_spec *spec = codec->spec; 2466 2466 int nid = kcontrol->private_value; 2467 2467 2468 2468 spec->hp_switch = ucontrol->value.integer.value[0] ? nid : 0; 2469 2469 … … 4175 4175 4176 4176 static inline int get_int_hint(struct hda_codec *codec, const char *key, 4177 int *valp)4177 unsigned int *valp) 4178 4178 { 4179 4179 const char *p; … … 4524 4524 spec->eapd_mask); 4525 4525 } 4526 } 4526 } 4527 4527 4528 4528 /* return non-zero if the hp-pin of the given array index isn't … … 4603 4603 * So, it's basically a problem of default pin configs, likely a BIOS issue. 4604 4604 * But, disabling the code below just works around it, and I'm too tired of 4605 * bug reports with such devices... 4605 * bug reports with such devices... 4606 4606 */ 4607 4607 else … … 4609 4609 #endif /* FIXME */ 4610 4610 } 4611 } 4611 } 4612 4612 4613 4613 static void stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, … … 4861 4861 { 4862 4862 if (nid == codec->afg) 4863 snd_iprintf(buffer, "Power-Map: 0x%02x\n", 4863 snd_iprintf(buffer, "Power-Map: 0x%02x\n", 4864 4864 snd_hda_codec_read(codec, nid, 0, 0x0fec, 0x0)); 4865 4865 } -
GPL/branches/uniaud32-2.1.x/lib32/ossidc.cpp
r479 r503 135 135 call_module_init(patch_sigmatel_init); 136 136 call_module_init(patch_via_init); 137 dprintf(("OSS32_Initialize: ForceCard=%d", ForceCard)); 137 138 #if 0 138 139 int i; … … 162 163 } 163 164 #else 164 dprintf(("force card: %d",ForceCard));165 165 //Check for SoundBlaster Live! 166 166 if((ForceCard == CARD_NONE || ForceCard == CARD_ICH) && … … 174 174 fnCardExitCall[nrCardsDetected] = name_module_exit(alsa_card_via82xx_exit); 175 175 } 176 177 176 178 177 if((ForceCard == CARD_NONE || ForceCard == CARD_SBLIVE) &&
Note:
See TracChangeset
for help on using the changeset viewer.