Subject: Re: linear and non-cacheable mapping vs bwx
To: None <M.Drochner@fz-juelich.de>
From: Chris G. Demetriou <cgd@netbsd.org>
List: port-alpha
Date: 09/03/1999 14:59:45
Matthias Drochner <drochner@zel459.zel.kfa-juelich.de> writes:
> As I just wrote to cgd, this is probably not too hard.
> I've seen only 2 places in the code where the linear mapping
> is used:
> -ti_mem(), only used in initialization, can be easily changed
> -ti_encap() - the descriptor accessed here can be in shared
>  or host memory, depending on the chip version. I'd propose
>  to handle 3 cases:
>  -host mem
>  -chip mem, have linear access, handle like host mem
>   (but should add a wbflush())

err, uh, you mean bus_space_barrier(), right?  8-)

>  -chip mem, no linear access, use bus_space_xxx()
> 


cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.