bus_space_tag, bus_space_handle

Gary Jennejohn gary.jennejohn at freenet.de
Thu Mar 11 15:18:28 UTC 2010


On Thu, 11 Mar 2010 11:04:52 +0200
Cole <cole at opteqint.net> wrote:

> Hi.
> 
> Im currently needing to write to a few registers for a PCI device. The
> driver is provided, but it does not contain support for writing
> specific registers itself. I also do not with to modify the driver.
> 
> I would like to know what the best method would be for writing to
> these registers, the best way to go about getting bus_space_tag, and
> handle for the connected pci device.
> 
> Im currently using FreeBSD 7.x.
> 

Take a look at pciconf(8).  Might help.

---
Gary Jennejohn


More information about the freebsd-hackers mailing list