diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-03-30 13:37:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-30 16:03:15 -0700 |
commit | 78286cdf054212c6d2fe6524fbf673fb9ead1abe (patch) | |
tree | 6eee7972b83cfb77b9efab23f32fecbdb7695b6d /Documentation/sound/oss/README.modules | |
parent | 970e2486492aa1eb47a436a5a4c81e92558986a9 (diff) | |
download | op-kernel-dev-78286cdf054212c6d2fe6524fbf673fb9ead1abe.zip op-kernel-dev-78286cdf054212c6d2fe6524fbf673fb9ead1abe.tar.gz |
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/README.modules')
-rw-r--r-- | Documentation/sound/oss/README.modules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/sound/oss/README.modules b/Documentation/sound/oss/README.modules index bf5142a..cdc0394 100644 --- a/Documentation/sound/oss/README.modules +++ b/Documentation/sound/oss/README.modules @@ -36,7 +36,7 @@ options adlib_card io=0x388 # FM synthesizer Alternatively, if you have compiled in kernel level ISAPnP support: alias char-major-14 sb -post-install sb /sbin/modprobe "-k" "adlib_card" +softdep sb post: adlib_card options adlib_card io=0x388 The effect of this is that the sound driver and all necessary bits and |