[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Actually in the kernel-docs package not the kernel source, I think.

file:/usr/src/linux-2.4/Documentation/devices.txt

On Wed, 2004-01-14 at 14:29, Dow Hurst wrote:
> Is there a listing that identifies the hardware to the major 
> minor numbers that a person could keep as a reference?  Is 
> it in a updated listing on the web somewhere as the hardware 
> that the kernel supports increases?  I've never looked at 
> the kernel source, so is it in there where I could access it 
> for any given kernel version?  Thanks,
> Dow
> 
> 
> Doug McNash wrote:
> >>What's a "major/minor device number"?
> > 
> > 
> > The short answer is that it is simply an index into a kernel table
> > filled with driver (function) entry points.  A call to
> > open("/dev/somedev",..) will execute this code to prep the device. 
> > Likewise the minor number usually indexes a data structure for a
> > specific instance of a device.
-- 
doug mcnash


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00530" href="msg00530.html">[ale] instruction needed</a></strong>
<ul><li><em>From:</em> kilpatms at mindspring.com (Sean Kilpatrick)</li></ul></li>
<li><strong><a name="00536" href="msg00536.html">[ale] instruction needed</a></strong>
<ul><li><em>From:</em> kilpatms at mindspring.com (Sean Kilpatrick)</li></ul></li>
<li><strong><a name="00543" href="msg00543.html">[ale] instruction needed</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00548" href="msg00548.html">[ale] instruction needed</a></strong>
<ul><li><em>From:</em> kilpatms at mindspring.com (Sean Kilpatrick)</li></ul></li>
<li><strong><a name="00553" href="msg00553.html">[ale] instruction needed</a></strong>
<ul><li><em>From:</em> dmcnash at charter.net (Doug McNash)</li></ul></li>
<li><strong><a name="00559" href="msg00559.html">[ale] instruction needed</a></strong>
<ul><li><em>From:</em> dhurst at kennesaw.edu (Dow Hurst)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00565.html">[ale] cheapest DSL service... ?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00567.html">[ale] USB -&gt; IDE enclosuers</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00561.html">[ale] instruction needed</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00556.html">[ale] instruction needed</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00566"><strong>Date</strong></a></li>
<li><a href="threads.html#00566"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>