Does Kernel 2.6 needs to call modprobe with a minor number?

From: Juergen Quade (quade@hs-niederrhein.de)
Date: Sat Aug 02 2003 - 16:52:46 EST


In kernel 2.6 it is possible for devices to share a major number as long
as they use different minor numbers (see register_chrdev_region).
Doesn't it mean, that now a device is clearly identified by a major
_and_ a minor number?

Right?

In this case, wouldn't it be necessary to call modprobe with
major _and_ minornumber (for example in function base_probe(),
sourcefile fs/char_dev.c)?

Otherwise the modprobe program can not clearly identify, which driver to
load.

       Juergen.
-
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/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:20 EST