Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 1998 14:38:24 -0300
From:      daniel_sobral@voga.com.br
To:        julian@whistle.com
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Device Driver
Message-ID:  <83256584.00604E1E.00@papagaio.voga.com.br>

next in thread | raw e-mail | index | archive | help

> > * Regarding major/minor number (I don't quite grok
> > that yet), may I suppose the script did the right
> > thing (current system)?

> for now, yes..
> it will have assigned you the 'experimental device' number.

The driver is for a very unusual device (a cryptography card), and I don't
know if it will be released under Berkeley license (I'm writing it for
someone else). Should I just leave it with the experimental device number
after having finished it or what?

> Minor numbers are so a device driver can tell apart it's devices.
> Major numbers are so the system can tell which driver to assign
> to the device.

Is this in any man page? So concise... :-) And, btw, what happens when
devfs becomes the name of the game?

--
Daniel C. Sobral                      (8-DCS)
Daniel_Sobral@voga.com.br





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83256584.00604E1E.00>