From owner-freebsd-hackers Mon Aug 19 22:40:13 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA23220 for hackers-outgoing; Mon, 19 Aug 1996 22:40:13 -0700 (PDT) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA23177; Mon, 19 Aug 1996 22:40:05 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id WAA17375; Mon, 19 Aug 1996 22:38:48 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) by whistle.com via smap (V1.3) id sma017373; Mon Aug 19 22:38:27 1996 Message-ID: <32194F1E.446B9B3D@whistle.com> Date: Mon, 19 Aug 1996 22:37:34 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Bruce Evans CC: pst@shockwave.com, committers@freebsd.org, hackers@freebsd.org, julian@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern kern_conf.c uipc_socket2.c References: <199608200424.OAA08956@godzilla.zeta.org.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > > > There should be at most one majors.h file. Drivers don't need to know > > their own numbers, but kern_conf.c needs to know until the numbers go > > >Yes they do! That's the rub. Lots of things in drivers call makedev(). :-( > > In 2.1.5, only 3 or 4 console drivers call All the other > calls in -current are to use the braindamaged [bc]devsw_add() interfaces. those interfaces were kept compatible with the version in OSF1 amd Terry's original LKM system versions.. I envision that once things have progressed beyond a certain point, most of those makedev() entries will initially be ignored and then removed. > > Bruce