aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sound/oss
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-03-30 16:37:20 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-30 19:03:15 -0400
commit78286cdf054212c6d2fe6524fbf673fb9ead1abe (patch)
tree6eee7972b83cfb77b9efab23f32fecbdb7695b6d /Documentation/sound/oss
parent970e2486492aa1eb47a436a5a4c81e92558986a9 (diff)
Documentation: replace install commands with softdeps
Install commands should not be used to specify soft dependencies among modules. When loading modules it's much better to have a softdep that modprobe knows what's being done than having to fork/exec another instance of modprobe to load the other module. By using a softdep user has also an option to remove the dependencies when removing the module (and if its refcount dropped to 0) Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sound/oss')
-rw-r--r--Documentation/sound/oss/AudioExcelDSP164
-rw-r--r--Documentation/sound/oss/README.modules2
2 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/sound/oss/AudioExcelDSP16 b/Documentation/sound/oss/AudioExcelDSP16
index e863f9cd5941..ea8549faede9 100644
--- a/Documentation/sound/oss/AudioExcelDSP16
+++ b/Documentation/sound/oss/AudioExcelDSP16
@@ -54,8 +54,8 @@ Loading MSS and OPL3 needs to pre load the aedsp16 module to set up correctly
54the sound card. Installation dependencies must be written in configuration 54the sound card. Installation dependencies must be written in configuration
55files under /etc/modprobe.d/ directory: 55files under /etc/modprobe.d/ directory:
56 56
57install ad1848 /sbin/modprobe aedsp16 && /sbin/modprobe -i ad1848 57softdep ad1848 pre: aedsp16
58install opl3 /sbin/modprobe aedsp16 && /sbin/modprobe -i opl3 58softdep opl3 pre: aedsp16
59 59
60Then you must load the sound modules stack in this order: 60Then you must load the sound modules stack in this order:
61sound -> aedsp16 -> [ ad1848, opl3 ] 61sound -> aedsp16 -> [ ad1848, opl3 ]
diff --git a/Documentation/sound/oss/README.modules b/Documentation/sound/oss/README.modules
index bf5142a7be79..cdc039421a46 100644
--- a/Documentation/sound/oss/README.modules
+++ b/Documentation/sound/oss/README.modules
@@ -36,7 +36,7 @@ options adlib_card io=0x388 # FM synthesizer
36 Alternatively, if you have compiled in kernel level ISAPnP support: 36 Alternatively, if you have compiled in kernel level ISAPnP support:
37 37
38alias char-major-14 sb 38alias char-major-14 sb
39post-install sb /sbin/modprobe "-k" "adlib_card" 39softdep sb post: adlib_card
40options adlib_card io=0x388 40options adlib_card io=0x388
41 41
42 The effect of this is that the sound driver and all necessary bits and 42 The effect of this is that the sound driver and all necessary bits and