lkml.org 
[lkml]   [2003]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectDoes Kernel 2.6 needs to call modprobe with a minor number?
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.038 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site