Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2010 12:01:37 +0100
From:      Gary Jennejohn <gary.jennejohn@freenet.de>
To:        Cole <cole@opteqint.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: bus_space_tag, bus_space_handle
Message-ID:  <20100311120137.23ec543b@ernst.jennejohn.org>
In-Reply-To: <9f206d1a1003110104p2f329103mc882c99bcc15ea51@mail.gmail.com>
References:  <9f206d1a1003110104p2f329103mc882c99bcc15ea51@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Mar 2010 11:04:52 +0200
Cole <cole@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100311120137.23ec543b>