Date: Sat, 13 May 2000 14:12:16 -0700 From: Peter Wemm <peter@netplex.com.au> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: obrien@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha mem.c Message-ID: <20000513211216.4EBD11CD7@overcee.netplex.com.au> In-Reply-To: Message from Poul-Henning Kamp <phk@critter.freebsd.dk> of "Sat, 13 May 2000 22:45:40 %2B0200." <551.958250740@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000513211216.4EBD11CD7>