diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-10-06 07:47:23 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-11-04 07:17:28 -0500 |
commit | 2b3e584b9235b302efa769acb172258513400065 (patch) | |
tree | c126a0b8f4aace837629067804991bf20e28eee1 | |
parent | 79ba34b94170eb517f0dcf634aab7fb1f5708d4b (diff) |
[ALSA] Add dummy obsoleted module options for backward compatibility
Added dummay obsoleted module options for backward compatibility
(to reduce possible bugzilla entries :)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/atiixp.c | 4 | ||||
-rw-r--r-- | sound/pci/atiixp_modem.c | 4 | ||||
-rw-r--r-- | sound/pci/hda/hda_intel.c | 4 | ||||
-rw-r--r-- | sound/pci/intel8x0.c | 6 | ||||
-rw-r--r-- | sound/pci/intel8x0m.c | 4 | ||||
-rw-r--r-- | sound/pci/via82xx.c | 4 | ||||
-rw-r--r-- | sound/pci/via82xx_modem.c | 4 |
7 files changed, 30 insertions, 0 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c index 332a71de9673..14f912ae40da 100644 --- a/sound/pci/atiixp.c +++ b/sound/pci/atiixp.c | |||
@@ -56,6 +56,10 @@ MODULE_PARM_DESC(ac97_quirk, "AC'97 workaround for strange hardware."); | |||
56 | module_param(spdif_aclink, bool, 0444); | 56 | module_param(spdif_aclink, bool, 0444); |
57 | MODULE_PARM_DESC(spdif_aclink, "S/PDIF over AC-link."); | 57 | MODULE_PARM_DESC(spdif_aclink, "S/PDIF over AC-link."); |
58 | 58 | ||
59 | /* just for backward compatibility */ | ||
60 | static int enable; | ||
61 | module_param(enable, int, 0444); | ||
62 | |||
59 | 63 | ||
60 | /* | 64 | /* |
61 | */ | 65 | */ |
diff --git a/sound/pci/atiixp_modem.c b/sound/pci/atiixp_modem.c index a4778d373cdf..ab39c0b7ccee 100644 --- a/sound/pci/atiixp_modem.c +++ b/sound/pci/atiixp_modem.c | |||
@@ -50,6 +50,10 @@ MODULE_PARM_DESC(id, "ID string for ATI IXP controller."); | |||
50 | module_param(ac97_clock, int, 0444); | 50 | module_param(ac97_clock, int, 0444); |
51 | MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz)."); | 51 | MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz)."); |
52 | 52 | ||
53 | /* just for backward compatibility */ | ||
54 | static int enable; | ||
55 | module_param(enable, int, 0444); | ||
56 | |||
53 | 57 | ||
54 | /* | 58 | /* |
55 | */ | 59 | */ |
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index d9e88dfe8171..1426fa0ac6d9 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -61,6 +61,10 @@ MODULE_PARM_DESC(model, "Use the given board model."); | |||
61 | module_param(position_fix, int, 0444); | 61 | module_param(position_fix, int, 0444); |
62 | MODULE_PARM_DESC(position_fix, "Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 = FIFO size)."); | 62 | MODULE_PARM_DESC(position_fix, "Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 = FIFO size)."); |
63 | 63 | ||
64 | /* just for backward compatibility */ | ||
65 | static int enable; | ||
66 | module_param(enable, int, 0444); | ||
67 | |||
64 | MODULE_LICENSE("GPL"); | 68 | MODULE_LICENSE("GPL"); |
65 | MODULE_SUPPORTED_DEVICE("{{Intel, ICH6}," | 69 | MODULE_SUPPORTED_DEVICE("{{Intel, ICH6}," |
66 | "{Intel, ICH6M}," | 70 | "{Intel, ICH6M}," |
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index a82f3b62364b..352c2cc650ae 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c | |||
@@ -87,6 +87,12 @@ MODULE_PARM_DESC(buggy_irq, "Enable workaround for buggy interrupts on some moth | |||
87 | module_param(xbox, bool, 0444); | 87 | module_param(xbox, bool, 0444); |
88 | MODULE_PARM_DESC(xbox, "Set to 1 for Xbox, if you have problems with the AC'97 codec detection."); | 88 | MODULE_PARM_DESC(xbox, "Set to 1 for Xbox, if you have problems with the AC'97 codec detection."); |
89 | 89 | ||
90 | /* just for backward compatibility */ | ||
91 | static int enable; | ||
92 | module_param(enable, int, 0444); | ||
93 | static int joystick; | ||
94 | module_param(joystick, int, 0444); | ||
95 | |||
90 | /* | 96 | /* |
91 | * Direct registers | 97 | * Direct registers |
92 | */ | 98 | */ |
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c index be604bb8445d..2295335981fb 100644 --- a/sound/pci/intel8x0m.c +++ b/sound/pci/intel8x0m.c | |||
@@ -67,6 +67,10 @@ MODULE_PARM_DESC(id, "ID string for Intel i8x0 modemcard."); | |||
67 | module_param(ac97_clock, int, 0444); | 67 | module_param(ac97_clock, int, 0444); |
68 | MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect)."); | 68 | MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect)."); |
69 | 69 | ||
70 | /* just for backward compatibility */ | ||
71 | static int enable; | ||
72 | module_param(enable, int, 0444); | ||
73 | |||
70 | /* | 74 | /* |
71 | * Direct registers | 75 | * Direct registers |
72 | */ | 76 | */ |
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index 4545208ee460..b2779fb7d1a9 100644 --- a/sound/pci/via82xx.c +++ b/sound/pci/via82xx.c | |||
@@ -100,6 +100,10 @@ MODULE_PARM_DESC(ac97_quirk, "AC'97 workaround for strange hardware."); | |||
100 | module_param(dxs_support, int, 0444); | 100 | module_param(dxs_support, int, 0444); |
101 | MODULE_PARM_DESC(dxs_support, "Support for DXS channels (0 = auto, 1 = enable, 2 = disable, 3 = 48k only, 4 = no VRA, 5 = enable any sample rate)"); | 101 | MODULE_PARM_DESC(dxs_support, "Support for DXS channels (0 = auto, 1 = enable, 2 = disable, 3 = 48k only, 4 = no VRA, 5 = enable any sample rate)"); |
102 | 102 | ||
103 | /* just for backward compatibility */ | ||
104 | static int enable; | ||
105 | module_param(enable, int, 0444); | ||
106 | |||
103 | 107 | ||
104 | /* revision numbers for via686 */ | 108 | /* revision numbers for via686 */ |
105 | #define VIA_REV_686_A 0x10 | 109 | #define VIA_REV_686_A 0x10 |
diff --git a/sound/pci/via82xx_modem.c b/sound/pci/via82xx_modem.c index a7a60d837c85..9462ebf590d6 100644 --- a/sound/pci/via82xx_modem.c +++ b/sound/pci/via82xx_modem.c | |||
@@ -66,6 +66,10 @@ MODULE_PARM_DESC(id, "ID string for VIA 82xx bridge."); | |||
66 | module_param(ac97_clock, int, 0444); | 66 | module_param(ac97_clock, int, 0444); |
67 | MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz)."); | 67 | MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz)."); |
68 | 68 | ||
69 | /* just for backward compatibility */ | ||
70 | static int enable; | ||
71 | module_param(enable, int, 0444); | ||
72 | |||
69 | 73 | ||
70 | /* | 74 | /* |
71 | * Direct registers | 75 | * Direct registers |