Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch



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.

-- 
        -- Jason R. Thorpe <thorpej%wasabisystems.com@localhost>



Home | Main Index | Thread Index | Old Index