From owner-freebsd-questions Thu Dec 2 7:23:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id CF29F14BF6 for ; Thu, 2 Dec 1999 07:23:07 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id KAA32779; Thu, 2 Dec 1999 10:22:51 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-Id: <199912021522.KAA32779@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <38468927.C216BB27@ncipher.com> Date: Thu, 02 Dec 1999 10:22:51 -0500 (EST) From: John Baldwin To: John Hartley Subject: RE: device major number allocation Cc: freebsd-questions@FreeBSD.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 02-Dec-99 John Hartley wrote: > hello, > > We develop hardware for cryptographic acceleration and secure > key storage and we have written a device driver for FreeBSD 3.x for > one of our PCI products. > > I was wondering if someone could tell me how to get a device > major number allocated for this driver. > > I have searched the web site and recent news groups and I have > been unable to find any specific information on this topic. I > apologise if I have missed it somewhere, or if this is the wrong > place to ask for this information, > > If you could point me in the right direction the I would be most > grateful, > > thanks in advance > > -john From the FAQ: Q: I need a major number for a device driver I've written. A: This depends on whether or not you plan on making the driver publicly available. If you do, then please send us a copy of the driver source code, plus the appropriate modifications to files.i386, a sample configuration file entry, and the appropriate MAKEDEV code to create any special files your device uses. If you do not, or are unable to because of licensing restrictions, then character major number 32 and block major number 8 have been reserved specifically for this purpose; please use them. In any case, we'd appreciate hearing about your driver on . -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message