Changeset 607
- Timestamp:
- Nov 17, 2018, 4:23:38 AM (7 years ago)
- Location:
- GPL/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/ens1370.c
r598 r607 23 23 * for ens1371 only ( FIXME ) 24 24 * derived from cs4281.c, atiixp.c and via82xx.c 25 * using http://www.alsa-project.org/~tiwai/writing-an-alsa-driver/ 25 * using http://www.alsa-project.org/~tiwai/writing-an-alsa-driver/ 26 26 * by Kurt J. Bosch 27 27 */ … … 468 468 {5512, 11025, 22050, 44100}; 469 469 static struct snd_pcm_hw_constraint_list snd_es1370_hw_constraints_rates = { 470 .count = 4, 470 .count = 4, 471 471 .list = snd_es1370_fixed_rates, 472 472 .mask = 0, … … 474 474 static struct snd_ratnum es1370_clock = { 475 475 .num = ES_1370_SRCLOCK, 476 .den_min = 29, 476 .den_min = 29, 477 477 .den_max = 353, 478 478 .den_step = 1, … … 495 495 static struct snd_ratnum es1371_adc_clock = { 496 496 .num = 48000 << 15, 497 .den_min = 32768, 497 .den_min = 32768, 498 498 .den_max = 393216, 499 499 .den_step = 1, … … 1055 1055 #else 1056 1056 (SNDRV_PCM_RATE_KNOT | /* 5512Hz rate */ 1057 SNDRV_PCM_RATE_11025 | SNDRV_PCM_RATE_22050 | 1057 SNDRV_PCM_RATE_11025 | SNDRV_PCM_RATE_22050 | 1058 1058 SNDRV_PCM_RATE_44100), 1059 1059 #endif … … 1074 1074 .info = (SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_INTERLEAVED | 1075 1075 SNDRV_PCM_INFO_BLOCK_TRANSFER | 1076 SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_PAUSE | 1076 SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_PAUSE | 1077 1077 SNDRV_PCM_INFO_SYNC_START), 1078 1078 .formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE, … … 1866 1866 */ 1867 1867 1868 static void snd_ensoniq_proc_read(struct snd_info_entry *entry, 1868 static void snd_ensoniq_proc_read(struct snd_info_entry *entry, 1869 1869 struct snd_info_buffer *buffer) 1870 1870 { … … 2489 2489 }; 2490 2490 2491 static int __init alsa_card_ens137x_init(void) 2491 #ifdef CHIP1370 2492 static int __init alsa_card_ens1370_init(void) 2492 2493 { 2493 2494 return pci_register_driver(&driver); 2494 2495 } 2495 2496 2496 static void __exit alsa_card_ens137 x_exit(void)2497 static void __exit alsa_card_ens1370_exit(void) 2497 2498 { 2498 2499 pci_unregister_driver(&driver); 2499 2500 } 2500 2501 module_init(alsa_card_ens137x_init) 2502 module_exit(alsa_card_ens137x_exit) 2501 module_init(alsa_card_ens1370_init) 2502 module_exit(alsa_card_ens1370_exit) 2503 #endif 2504 2505 #ifdef CHIP1371 2506 static int __init alsa_card_ens1371_init(void) 2507 { 2508 return pci_register_driver(&driver); 2509 } 2510 2511 static void __exit alsa_card_ens1371_exit(void) 2512 { 2513 pci_unregister_driver(&driver); 2514 } 2515 module_init(alsa_card_ens1371_init) 2516 module_exit(alsa_card_ens1371_exit) 2517 #endif 2518 2519 -
GPL/trunk/drv32/parse.c
r602 r607 43 43 int fVerbose = FALSE; 44 44 int fDebug = FALSE; 45 int ForceCard = CARD_NONE;45 //int ForceCard = CARD_NONE; 46 46 int iAdapterNumber = -1; 47 47 … … 121 121 } 122 122 //***************************************************************************** 123 124 #if 0 123 125 //***************************************************************************** 124 126 void CheckCardName(char FAR48 *psz) … … 206 208 } 207 209 //***************************************************************************** 210 #endif 211 208 212 //***************************************************************************** 209 213 int DoParm(char cParm, char FAR48 *pszOption) … … 219 223 fDebug = TRUE; 220 224 break; 221 case 'C':222 CheckCardName(pszOption);223 break;225 //case 'C': 226 //CheckCardName(pszOption); 227 //break; 224 228 #if 1 225 229 case 'M': -
GPL/trunk/include/unicard.h
r518 r607 36 36 #define CARD_VIA82XX 6 37 37 #define CARD_ESS1938 7 38 #define CARD_ENSONIQ 38 #define CARD_ENSONIQ0 8 39 39 #define CARD_YAMAHA 9 40 40 #define CARD_MAESTRO 10 … … 50 50 #define CARD_VORTEX 20 // unsupported 51 51 #define CARD_CS5535 21 52 #define CARD_ENSONIQ1 22 52 53 53 #define CARDS_NUM 2 254 #define CARDS_NUM 23 54 55 55 56 #define CARD_STRING_SBLIVE "SBLIVE" … … 78 79 #define CARD_MAX_LEN 16 79 80 80 extern int ForceCard;81 //extern int ForceCard; 81 82 82 83 #endif //__UNICARD_H__ -
GPL/trunk/lib32/initcall.h
r598 r607 68 68 extern_module_init(alsa_card_emu10k1_init) 69 69 extern_module_exit(alsa_card_emu10k1_exit) 70 extern_module_init(alsa_card_ens137x_init) 71 extern_module_exit(alsa_card_ens137x_exit) 70 extern_module_init(alsa_card_ens1370_init) 71 extern_module_exit(alsa_card_ens1370_exit) 72 extern_module_init(alsa_card_ens1371_init) 73 extern_module_exit(alsa_card_ens1371_exit) 72 74 extern_module_init(alsa_card_es1938_init) 73 75 extern_module_exit(alsa_card_es1938_exit) -
GPL/trunk/lib32/ossidc.c
r598 r607 75 75 { CARD_CS5535, &name_module_init(alsa_card_cs5535audio_init), &name_module_exit(alsa_card_cs5535audio_exit) }, 76 76 { CARD_ESS1938, &name_module_init(alsa_card_es1938_init), &name_module_exit(alsa_card_es1938_exit) }, 77 { CARD_ENSONIQ, &name_module_init(alsa_card_ens137x_init), &name_module_exit(alsa_card_ens137x_exit) }, 77 { CARD_ENSONIQ0, &name_module_init(alsa_card_ens1370_init), &name_module_exit(alsa_card_ens1370_exit) }, 78 { CARD_ENSONIQ1, &name_module_init(alsa_card_ens1371_init), &name_module_exit(alsa_card_ens1371_exit) }, 78 79 { CARD_YAMAHA, &name_module_init(alsa_card_ymfpci_init), &name_module_exit(alsa_card_ymfpci_exit) }, 79 80 { CARD_MAESTRO, &name_module_init(alsa_card_es1968_init), &name_module_exit(alsa_card_es1968_exit) }, … … 136 137 call_module_init(patch_via_init); 137 138 138 dprintf(("OSS32_Initialize: ForceCard=%d", ForceCard));139 //dprintf(("OSS32_Initialize: ForceCard=%d", ForceCard)); 139 140 140 141 for (sI=0; sI<CARDS_NUM; sI++) { 141 if ((ForceCard != CARD_NONE) && (ForceCard != cardcalls[sI].card_id)) continue;142 //if ((ForceCard != CARD_NONE) && (ForceCard != cardcalls[sI].card_id)) continue; 142 143 //dprintf(("calling: %x at %x", cardcalls[sI].card_id, cardcalls[sI].cinitcall)); 143 144 if (cardcalls[sI].cinitcall == NULL) continue; -
GPL/trunk/tools/AddToFile.cmd
r602 r607 1 1 /** AddToFile.cmd 2 2 * Adds the specified line to the end of the specified file. 3 * Written by and Copyright (c) 2010-201 6David Azarewicz http://88watts.net3 * Written by and Copyright (c) 2010-2018 David Azarewicz http://88watts.net 4 4 * 5 * @#D Azarewicz:1.0 1#@##1## 16 Sep 2016 DAZAR1 ::::::@@AddToFile.cmd (c) David Azarewicz 20165 * @#D Azarewicz:1.02#@##1## 15 Nov 2018 DAZAR1 ::::::@@AddToFile.cmd (c) David Azarewicz 2018 6 6 * V1.01 16-Sep-2016 First official release 7 * V1.02 02-Jun-2017 Added Asd to bldlevel, added DATE1 7 8 * 8 9 * The following line is for the help sample code for the VAR function: … … 18 19 Say 'Functions:'; 19 20 Say ' DATEL - Adds the date as a long number.'; 20 Say ' BLDLEVEL - Adds a formatted BLDLEVEL string.'; 21 Say ' DATE1 - Adds the date in 2017-Jul-01 format.'; 22 Say ' BLDLEVEL - Adds a standardized formatted BLDLEVEL string.'; 21 23 Say ' DATEYEAR - Adds the current year.'; 22 24 Say ' DATEMONTH - Adds the current month.'; … … 33 35 rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd); 34 36 call 'AddToFile.cmd' MyCmd; 37 MyCmd=MyFile||',#define DDATE,DATE1'; 38 rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd); 39 call 'AddToFile.cmd' MyCmd; 35 40 MyCmd=MyFile||',option description,BLDLEVEL,Vendor,1.2.3,Description,Fixpack,Asd'; 36 41 rc=LineOut(MyFile, '--- AddToFile.cmd '||MyCmd); … … 223 228 do while (QUEUED() > 0) 224 229 PARSE PULL Line1':'Line2 230 if (Line1 = "Revision") then leave; 225 231 if (Line1 = "Last Changed Rev") then leave; 226 232 Line2 = ""; -
GPL/trunk/uniaud.inc
r604 r607 7 7 # BUILDVERSION must be 3 parts, and only numbers like 5.44.108 8 8 # The second and third numbers must be 2 digits 9 BUILDVERSION = 2.02.0 49 BUILDVERSION = 2.02.05 10 10 11 11 # Fixpack version
Note:
See TracChangeset
for help on using the changeset viewer.