![]() | |||||||||||||
Messages in this thread |
In message <Pine.LNX.4.50.0212161831340.1804-100000@montezuma.mastecende.com> y ou write: > On Tue, 17 Dec 2002, Rusty Russell wrote: > > How did you get a module which has - in its name? The build system > > *should* turn them into _'s. > > ALSA modules? > > -rw-r--r-- 1 root root 170125 Dec 15 00:10 snd-mixer-oss.ko > -rw-r--r-- 1 root root 143685 Dec 15 00:10 snd-mpu401-uart.ko > -rw-r--r-- 1 root root 312564 Dec 15 00:10 snd-opl3-lib.ko > -rw-r--r-- 1 root root 194307 Dec 15 00:10 snd-opl3sa2.ko > -rw-r--r-- 1 root root 612512 Dec 15 00:10 snd-opl3-synth.ko > -rw-r--r-- 1 root root 1160272 Dec 15 00:10 snd-pcm.ko > > But they do get converted when we load ie snd-pcm turns into snd_pcm Yes, the filenames are unchanged. But if you modprobe snd-mixer-oss, you'll see snd_mixer_oss in /proc/modules. But rmmod "snd-mixer-oss" works as expected. Basically, the kernel and tools see them as equivalent: anything else is a bug, please report. BTW, this was done for (1) simplicity, (2) so KBUILD_MODNAME can be used to construct identifiers, and (3) so parameters when the module is built-in have a consistent name. Hope that clarifies! Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 12:31 [W:0.306 / U:0.030 seconds] ©2003-2008 Jasper Spaans | |||||||||||||