> is 'bus_dma' > http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man9/bus_dma.9 > the <<equivalent>> of 'ioremap/ioread32' > http://www.makelinux.net/ldd3/chp-9-sect-4-- > ?
I don't think so. It looks like you are attempting to port a PCI driver, and attempting to access the device's register. PCI device regions in memory and I/O space are made available to the kernel with pci_mapreg_map(), which gives you a bus_space_handle_t suitable for use with thi bus_space(9) API. This would be a sugar-coated equivalent of ioremap(). >From then on, bus_space_read_(N/8) will match ioreadN() calls.

