New PCI API

Aaron J. Grier aaron at frye.com
Tue Jul 12 22:55:28 UTC 2005


On Tue, Jul 12, 2005 at 10:41:05PM +0400, Victor V. Vengerov wrote:
> Implementing of PCI API may be a good point to introduce primitives
> similar to Linux read{b,w,l}, write{b,w,l}, in{b,w,l}, out{b,w,l},
> which accept address on PCI memory/IO space (in RTEMS case, hose
> number may be their argument as well).

I'd also suggest looking at NetBSD's bus_space(9) and bus_dma(9) to see
if they would be appropriate; we'd be able to lift more code than linux'
analogues.

http://netbsd.gw.com/cgi-bin/man-cgi?bus_space+9+NetBSD-current
http://netbsd.gw.com/cgi-bin/man-cgi?bus_dma+9+NetBSD-current

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron at frye.com



More information about the users mailing list