Source-Changes archive

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

Re: CVS commit: src/sys/arch/arm/ixp12x0



At Fri, 21 Feb 2003 08:16:57 -0800,
Jason R Thorpe wrote:
>  > Log Message:
>  > Don't use dv_unit to determine console.  Back to comparing iobase again.
>  > We always assume ixpcom is at statically mapped address (0xf0000000).
> 
> Locators should always use the hardware base of the device, not the
> virtual address.

If I understood you correctly, you mean the following config is
invalid don't you?

ixpcom* at ixpsip? addr 0xf0000000 size 0x4000
                        ^^^^^^^^^^virtual address

It is hard of avoiding for console to access UART through the
statically mapped address (virtual 0xf0000000).  Because I want
to use console before the vm is established.

So I will modify sources as following.

        - to identify device instance, using hardware address.
        - when console accesses device, using statically mapped address.
        - when tty accesses device, using handler given by bus_space_map().

--
Naoto Shimazaki



Home | Main Index | Thread Index | Old Index