Messages in this thread | | | Date | Fri, 19 Nov 2004 12:10:15 +0100 | From | Takashi Iwai <> | Subject | Re: modprobe + request_module() deadlock |
| |
At Fri, 19 Nov 2004 09:04:16 +0500, Alexander E. Patrakov wrote: > > Takashi Iwai wrote: > > > Can we add a module dependency manually somehow? > > Yes, recommend the user to add something like this to /etc/modprobe.conf: > > install a modprobe -i a ; modprobe b ; true > > But IMHO Rusty should provide a way to specify those "recommended" install > lines in the modules themselves (so that they finally go > to /lib/modules/`uname -r`/modules.alias or a similar autogenerated file), > like that's already done wih aliases and char-majors.
Well, how about to add a new marker in the driver code such as
MODULE_DEPENDS_ON("somemodule");
so that depmod can pick it up?
Takashi - 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/
| |