Subject: Re: CVS commit: src/sys/arch
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Naoto Shimazaki <igy@arhc.org>
List: source-changes
Date: 02/21/2003 08:54:22
At Thu, 20 Feb 2003 11:48:57 -0800,
Jason R Thorpe wrote:
>
> On Mon, Feb 17, 2003 at 10:51:54PM +0200, Ichiro Fukuhara wrote:
>
> > 2. Use dv_unit to determine console instead comparering iobase.
> > Now you can attach ixpcom0 with physical address like this:
> > ixpcom* at ixpsip? addr 0x90000000 size 0x4000
> > Statically mapped address (0xf0000000) is still usable.
>
> Using dv_unit for this purpose is wrong. There should be no correlation
> between unit number and the purpose of the device instance. We, in fact,
> have been trying to purge uses of dv_unit for this kind of purpose.
Should we use the hardware address (iobase)?
--
Naoto Shimazaki