Subject: Re: Machine-independent device drivers
To: None <tech-kern@NetBSD.ORG>
From: Frank van der Linden <frank@fwi.uva.nl>
List: tech-kern
Date: 04/15/1995 00:12:58
Quoting Ignatios Souvatzis,

> No... these should be defined even more machine independent.

> E.G. devices on the Amiga Z2 bus can't dma write at physical adresses
> over 0xFFFFFF. 

> The bounce buffer copy routines would just be depended upon by drivers
> which need them, of course, so thats no problem. But we could save
> lots of code duplication I guess.

Yes, any code like that is not machine-dependent, but bus-dependent.
Bounce buffers for busmastering devices aren't easy to get right
though, since they touch several other areas as well, but this has been
discussed before.

- Frank