From owner-cvs-all Sat May 13 14:12:27 2000 Delivered-To: cvs-all@freebsd.org Received: from overcee.netplex.com.au (peter1.yahoo.com [208.48.107.4]) by hub.freebsd.org (Postfix) with ESMTP id 639B237B923; Sat, 13 May 2000 14:12:20 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 4EBD11CD7; Sat, 13 May 2000 14:12:16 -0700 (PDT) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Poul-Henning Kamp Cc: obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha mem.c In-Reply-To: Message from Poul-Henning Kamp of "Sat, 13 May 2000 22:45:40 +0200." <551.958250740@critter.freebsd.dk> Date: Sat, 13 May 2000 14:12:16 -0700 From: Peter Wemm Message-Id: <20000513211216.4EBD11CD7@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > In message <20000513204102.7508C1CDF@overcee.netplex.com.au>, Peter Wemm writ es > : > >"David O'Brien" wrote: > >> On Sat, May 13, 2000 at 12:43:00AM -0700, Peter Wemm wrote: > >> > Log: > >> > There are still too many diffs relative to the i386 version. > >> > >> Couldn't the two be merged? (perhaps with just a very few #ifdef's) > > > >More of it maybe, but take (for instance) the physical addresses. They > >are 32bit vs. 64 bit. /dev/mem and /dev/kmem are different too. > > > >IMHO, /dev/null, /dev/zero, /dev/[u]random etc have no business being in > >the same driver as /dev/[k]mem. I think *that* is the basic mistake here. > >Everything but mem/kmem should be in a MI "misc devices" driver. > > The fact that they are is a relic of them sharing one major number. > > We don't need to use the same devsw{} for all minors of the same major > today, so abstracting null, zero and the randoms out to some MI place > would be simple. Oh yes, that's right! Excellent point! :-) Lets kill this abmonination now and be done with it. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message