Device Driver Problem, Embedded Development
M. Warner Losh
imp at bsdimp.com
Mon Jan 26 07:48:10 PST 2004
In message: <00c301c3e3eb$944845d0$1d02a8c0 at sdlbase>
"Bob Pickles" <BPICKLES at btconnect.com> writes:
: I have been trying to find the following functions:
:
: pci_mem_find() Need explanation of parameters. Managed to work out the
: other pci_ functions...
This isn't a public function. Don't use it. In fact, I can't even
find it in the current sources. I believe it was the old-style way to
map memory.
: bus_space_map() Need explanation of parameters to allow device memory map.
Chances are excellent you don't want to use this one either.
: This is all that I need to get the driver working with the user app.
bus_alloc_resource() is what I think you want to use.
Warner
More information about the freebsd-arch
mailing list