From owner-freebsd-hackers Tue Jan 6 08:42:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA28215 for hackers-outgoing; Tue, 6 Jan 1998 08:42:07 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from db2server.voga.com.br (db2server.voga.com.br [200.239.39.7]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA28206 for ; Tue, 6 Jan 1998 08:41:56 -0800 (PST) (envelope-from daniel_sobral@voga.com.br) From: daniel_sobral@voga.com.br Received: from papagaio.voga.com.br (papagaio.voga.com.br [200.239.39.2]) by db2server.voga.com.br (8.8.3+2.6Wbeta9/8.8.7) with SMTP id OAA12192; Tue, 6 Jan 1998 14:38:36 -0200 Received: by papagaio.voga.com.br(Lotus SMTP MTA v1.06 (346.7 3-18-1997)) id 03256584.0060E81B ; Tue, 6 Jan 1998 14:38:28 -0300 X-Lotus-FromDomain: VOGA To: julian@whistle.com cc: hackers@FreeBSD.ORG Message-ID: <83256584.00604E1E.00@papagaio.voga.com.br> Date: Tue, 6 Jan 1998 14:38:24 -0300 Subject: Re: Device Driver Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > > * 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