Changeset 310 for GPL/branches/uniaud-2.0/alsa-kernel/pci/cmipci.c
- Timestamp:
- Mar 24, 2008, 4:45:54 AM (17 years ago)
- File:
-
- 1 edited
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) \
Note:
See TracChangeset
for help on using the changeset viewer.