xfi.c (7e95e365d5399647a41e10059e4b09826b82d78b) | xfi.c (a67ff6a54095e27093ea501fb143fefe51a536c2) |
---|---|
1/* 2 * xfi linux driver. 3 * 4 * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved. 5 * 6 * This source file is released under GPL v2 license (no other versions). 7 * See the COPYING file included in the main directory of this source 8 * distribution for the license terms and conditions. --- 18 unchanged lines hidden (view full) --- 27static unsigned int multiple = 2; 28MODULE_PARM_DESC(reference_rate, "Reference rate (default=48000)"); 29module_param(reference_rate, uint, S_IRUGO); 30MODULE_PARM_DESC(multiple, "Rate multiplier (default=2)"); 31module_param(multiple, uint, S_IRUGO); 32 33static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; 34static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; | 1/* 2 * xfi linux driver. 3 * 4 * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved. 5 * 6 * This source file is released under GPL v2 license (no other versions). 7 * See the COPYING file included in the main directory of this source 8 * distribution for the license terms and conditions. --- 18 unchanged lines hidden (view full) --- 27static unsigned int multiple = 2; 28MODULE_PARM_DESC(reference_rate, "Reference rate (default=48000)"); 29module_param(reference_rate, uint, S_IRUGO); 30MODULE_PARM_DESC(multiple, "Rate multiplier (default=2)"); 31module_param(multiple, uint, S_IRUGO); 32 33static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; 34static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; |
35static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; | 35static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; |
36static unsigned int subsystem[SNDRV_CARDS]; 37 38module_param_array(index, int, NULL, 0444); 39MODULE_PARM_DESC(index, "Index value for Creative X-Fi driver"); 40module_param_array(id, charp, NULL, 0444); 41MODULE_PARM_DESC(id, "ID string for Creative X-Fi driver"); 42module_param_array(enable, bool, NULL, 0444); 43MODULE_PARM_DESC(enable, "Enable Creative X-Fi driver"); --- 125 unchanged lines hidden --- | 36static unsigned int subsystem[SNDRV_CARDS]; 37 38module_param_array(index, int, NULL, 0444); 39MODULE_PARM_DESC(index, "Index value for Creative X-Fi driver"); 40module_param_array(id, charp, NULL, 0444); 41MODULE_PARM_DESC(id, "ID string for Creative X-Fi driver"); 42module_param_array(enable, bool, NULL, 0444); 43MODULE_PARM_DESC(enable, "Enable Creative X-Fi driver"); --- 125 unchanged lines hidden --- |