- Timestamp:
 - Mar 24, 2008, 4:45:54 AM (18 years ago)
 - Location:
 - GPL/branches/uniaud-2.0
 - Files:
 - 
      
- 3 edited
 
- 
          
  alsa-kernel/pci/cmipci.c (modified) (3 diffs)
 - 
          
  alsa-kernel/pci/makefile.os2 (modified) (1 diff)
 - 
          
  lib32/ossidc.cpp (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
GPL/branches/uniaud-2.0/alsa-kernel/pci/cmipci.c
r305 r310 57 57 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable switches */ 58 58 static long mpu_port[SNDRV_CARDS]; 59 #ifndef TARGET_OS2 59 60 static long fm_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1}; 60 61 static int soft_ac3[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1}; 62 #else 63 static long fm_port[SNDRV_CARDS] = {0x388, -1,-1,-1,-1,-1,-1,-1}; 64 static int soft_ac3[SNDRV_CARDS] = {0,1,1,1,1,1,1,1}; 65 #endif 61 66 #ifdef SUPPORT_JOYSTICK 62 67 static int joystick_port[SNDRV_CARDS]; … … 2406 2411 } 2407 2412 2413 #ifndef TARGET_OS2 2408 2414 #define DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask_on, xis_byte, xac3) \ 2409 2415 static struct cmipci_switch_args cmipci_switch_arg_##sname = { \ … … 2414 2420 .ac3_sensitive = xac3, \ 2415 2421 } 2422 #else 2423 #define DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask_on, xis_byte, xac3) \ 2424 static struct cmipci_switch_args cmipci_switch_arg_##sname = { \ 2425 xreg, \ 2426 xmask, \ 2427 xmask_on, \ 2428 xis_byte, \ 2429 xac3, \ 2430 } 2431 #endif 2416 2432 2417 2433 #define DEFINE_BIT_SWITCH_ARG(sname, xreg, xmask, xis_byte, xac3) \  - 
      
GPL/branches/uniaud-2.0/alsa-kernel/pci/makefile.os2
r305 r310 34 34 FILE1 = pci_iomap_compat.obj ens1370.obj ens1371.obj cs4281.obj es1938.obj 35 35 FILE2 = es1968.obj intel8x0.obj maestro3.obj via82xx.obj 36 FILE3 = fm801.obj atiixp.obj 37 #FILE4 = als4000.obj cmipci.obj36 FILE3 = fm801.obj atiixp.obj cmipci.obj 37 #FILE4 = als4000.obj 38 38 FILE5 = 39 39 FILE6 =  - 
      
GPL/branches/uniaud-2.0/lib32/ossidc.cpp
r305 r310 172 172 } 173 173 #endif 174 #if 0175 174 if((ForceCard == CARD_NONE || ForceCard == CARD_CMEDIA) && 176 175 nrCardsDetected < (OSS32_MAX_AUDIOCARDS-1) && call_module_init(alsa_card_cmipci_init) == 0) … … 178 177 fnCardExitCall[nrCardsDetected] = name_module_exit(alsa_card_cmipci_exit); 179 178 } 179 #if 0 180 180 if((ForceCard == CARD_NONE || ForceCard == CARD_ALS4000) && 181 181 nrCardsDetected < (OSS32_MAX_AUDIOCARDS-1) && call_module_init(alsa_card_als4000_init) == 0)  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  