From owner-freebsd-current@FreeBSD.ORG Sat Nov 29 23:07:10 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E27316A4CE for ; Sat, 29 Nov 2003 23:07:10 -0800 (PST) Received: from mail8.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1627643FDF for ; Sat, 29 Nov 2003 23:07:08 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 674 invoked from network); 30 Nov 2003 07:07:07 -0000 Received: from unknown (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail8.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 30 Nov 2003 07:07:07 -0000 Received: from hydrogen.funkthat.com (evuhup@localhost.funkthat.com [127.0.0.1])hAU776gP091041; Sat, 29 Nov 2003 23:07:06 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id hAU774WI091040; Sat, 29 Nov 2003 23:07:05 -0800 (PST) Date: Sat, 29 Nov 2003 23:07:04 -0800 From: John-Mark Gurney To: Roman Kurakin Message-ID: <20031130070704.GA64793@funkthat.com> Mail-Followup-To: Roman Kurakin , freebsd-arch@freebsd.org, freebsd-current@freebsd.org References: <3FBE54D0.9000901@cronyx.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FBE54D0.9000901@cronyx.ru> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-current@freebsd.org cc: freebsd-arch@freebsd.org Subject: Re: MAJOR number X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 07:07:10 -0000 X-List-Received-Date: Sun, 30 Nov 2003 07:07:10 -0000 Sorry for the late reply. Roman Kurakin wrote this message on Fri, Nov 21, 2003 at 21:09 +0300: > I need a new MAJOR number for our new device. > How can I get it? Are you sure you need one? Are you doing a -stable release of the driver? or just a -current? You only need a major number if you are doing a -stable release, otherwise in -current you just don't specify the major number in your cdevsw, and devfs will now automaticly assign you one when you create your device node... There are still major numbers for a few devices that may are standard (such as zero/null), but not common... > I've read that FreeBSD doesn't use them any more. > But we may need it to not interfere with other device > drivers in previous releases of FreeBSD. so, you are planning do do 4.x and earlier releases of your driver? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."