From owner-cvs-src@FreeBSD.ORG Thu Aug 28 06:20:26 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 539D916A4BF; Thu, 28 Aug 2003 06:20:26 -0700 (PDT) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [133.11.205.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1047E43FD7; Thu, 28 Aug 2003 06:20:25 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is2.mh.itc.u-tokyo.ac.jp (is2.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is2.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 496D937873B; Thu, 28 Aug 2003 22:20:23 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h7SDKN9Y014964; Thu, 28 Aug 2003 22:20:23 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])3.3.5-GR) with ESMTP id AJY59161; Thu, 28 Aug 2003 22:20:21 +0900 (JST) Date: Thu, 28 Aug 2003 22:20:21 +0900 Message-ID: From: Hidetoshi Shimokawa To: "Poul-Henning Kamp" In-Reply-To: <5190.1062075743@critter.freebsd.dk> References: <5190.1062075743@critter.freebsd.dk> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX cc: cvs-src@FreeBSD.org cc: John-Mark Gurney cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf majors X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 13:20:26 -0000 At Thu, 28 Aug 2003 15:02:23 +0200, Poul-Henning Kamp wrote: > > In message , Hidetoshi Shimokawa writes > : > > >> >WARNING: driver "foo" used unreserved major device number bar > >> > >> You should use automatic assignment of majors. > > > >Do you have any sample of console drivers converted to use MAJOR_AUTO? > > I don't really think that it matters that it is a console driver, > why should it ? We call makedev() in cnprobe and we cannot call make_dev() before SI_SUB_DRIVERS. This is my understanding why we have not converted any console driver to use MAJOR_AUTO. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html