diff options
author | Jaroslav Kysela <perex@suse.cz> | 2004-05-17 19:19:27 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2004-05-17 19:19:27 +0200 |
commit | 95388082cef7da0f95a1075ee5a94973231a1ea1 (patch) | |
tree | 857dacd424383e02f2539975f83a13108ce914f0 /sound | |
parent | 8e1f5ff0de4c41212e44ba872a6b7e36f4202130 (diff) | |
download | history-95388082cef7da0f95a1075ee5a94973231a1ea1.tar.gz |
ALSA CVS update - Clemens Ladisch <clemens@ladisch.de>
ALSA<-OSS emulation,ALSA sequencer,ALSA<-OSS sequencer,OPL4
make some module parameters sysfs-writable, where appropriate
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/oss/pcm_oss.c | 2 | ||||
-rw-r--r-- | sound/core/seq/oss/seq_oss.c | 2 | ||||
-rw-r--r-- | sound/core/seq/seq.c | 12 | ||||
-rw-r--r-- | sound/core/seq/seq_midi.c | 4 | ||||
-rw-r--r-- | sound/drivers/opl4/opl4_seq.c | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/sound/core/oss/pcm_oss.c b/sound/core/oss/pcm_oss.c index f89cb14530201d..25f82bef9d6c50 100644 --- a/sound/core/oss/pcm_oss.c +++ b/sound/core/oss/pcm_oss.c @@ -57,7 +57,7 @@ MODULE_PARM_SYNTAX(dsp_map, "default:0,skill:advanced"); module_param_array(adsp_map, int, boot_devs, 0444); MODULE_PARM_DESC(adsp_map, "PCM device number assigned to 2nd OSS device."); MODULE_PARM_SYNTAX(adsp_map, "default:1,skill:advanced"); -module_param(nonblock_open, bool, 0444); +module_param(nonblock_open, bool, 0644); MODULE_PARM_DESC(nonblock_open, "Don't block opening busy PCM devices."); MODULE_PARM_SYNTAX(nonblock_open, "default:0,skill:advanced"); MODULE_ALIAS_SNDRV_MINOR(SNDRV_MINOR_OSS_PCM); diff --git a/sound/core/seq/oss/seq_oss.c b/sound/core/seq/oss/seq_oss.c index 84923d213fb699..50a3740bf22082 100644 --- a/sound/core/seq/oss/seq_oss.c +++ b/sound/core/seq/oss/seq_oss.c @@ -41,7 +41,7 @@ MODULE_ALIAS_SNDRV_MINOR(SNDRV_MINOR_OSS_SEQUENCER); MODULE_ALIAS_SNDRV_MINOR(SNDRV_MINOR_OSS_MUSIC); #ifdef SNDRV_SEQ_OSS_DEBUG -module_param(seq_oss_debug, int, 0444); +module_param(seq_oss_debug, int, 0644); MODULE_PARM_DESC(seq_oss_debug, "debug option"); int seq_oss_debug = 0; #endif diff --git a/sound/core/seq/seq.c b/sound/core/seq/seq.c index f6c2544d567a51..5f8beb4a203755 100644 --- a/sound/core/seq/seq.c +++ b/sound/core/seq/seq.c @@ -56,17 +56,17 @@ MODULE_SUPPORTED_DEVICE("sound"); static int boot_devs; module_param_array(seq_client_load, int, boot_devs, 0444); MODULE_PARM_DESC(seq_client_load, "The numbers of global (system) clients to load through kmod."); -module_param(seq_default_timer_class, int, 0444); +module_param(seq_default_timer_class, int, 0644); MODULE_PARM_DESC(seq_default_timer_class, "The default timer class."); -module_param(seq_default_timer_sclass, int, 0444); +module_param(seq_default_timer_sclass, int, 0644); MODULE_PARM_DESC(seq_default_timer_sclass, "The default timer slave class."); -module_param(seq_default_timer_card, int, 0444); +module_param(seq_default_timer_card, int, 0644); MODULE_PARM_DESC(seq_default_timer_card, "The default timer card number."); -module_param(seq_default_timer_device, int, 0444); +module_param(seq_default_timer_device, int, 0644); MODULE_PARM_DESC(seq_default_timer_device, "The default timer device number."); -module_param(seq_default_timer_subdevice, int, 0444); +module_param(seq_default_timer_subdevice, int, 0644); MODULE_PARM_DESC(seq_default_timer_subdevice, "The default timer subdevice number."); -module_param(seq_default_timer_resolution, int, 0444); +module_param(seq_default_timer_resolution, int, 0644); MODULE_PARM_DESC(seq_default_timer_resolution, "The default timer resolution in Hz."); /* diff --git a/sound/core/seq/seq_midi.c b/sound/core/seq/seq_midi.c index f917ffc4f8680d..a2a4b83f8caf05 100644 --- a/sound/core/seq/seq_midi.c +++ b/sound/core/seq/seq_midi.c @@ -46,10 +46,10 @@ MODULE_LICENSE("GPL"); MODULE_CLASSES("{sound}"); MODULE_SUPPORTED_DEVICE("sound"); int output_buffer_size = PAGE_SIZE; -module_param(output_buffer_size, int, 0444); +module_param(output_buffer_size, int, 0644); MODULE_PARM_DESC(output_buffer_size, "Output buffer size in bytes."); int input_buffer_size = PAGE_SIZE; -module_param(input_buffer_size, int, 0444); +module_param(input_buffer_size, int, 0644); MODULE_PARM_DESC(input_buffer_size, "Input buffer size in bytes."); /* data for this midi synth driver */ diff --git a/sound/drivers/opl4/opl4_seq.c b/sound/drivers/opl4/opl4_seq.c index c55497eed19725..cc0dee9c2cdea2 100644 --- a/sound/drivers/opl4/opl4_seq.c +++ b/sound/drivers/opl4/opl4_seq.c @@ -43,7 +43,7 @@ MODULE_CLASSES("{sound}"); int volume_boost = 8; -module_param(volume_boost, int, 0444); +module_param(volume_boost, int, 0644); MODULE_PARM_DESC(volume_boost, "Additional volume for OPL4 wavetable sounds."); MODULE_PARM_SYNTAX(volume_boost, "default:8"); |