From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 11 09:35:39 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0CDE106566B for ; Thu, 11 Mar 2010 09:35:39 +0000 (UTC) (envelope-from cole@opteqint.net) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id A88598FC14 for ; Thu, 11 Mar 2010 09:35:39 +0000 (UTC) Received: by pwj4 with SMTP id 4so112170pwj.13 for ; Thu, 11 Mar 2010 01:35:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.202.1 with SMTP id z1mr1268661wff.53.1268298292899; Thu, 11 Mar 2010 01:04:52 -0800 (PST) X-Originating-IP: [196.210.202.6] Date: Thu, 11 Mar 2010 11:04:52 +0200 Message-ID: <9f206d1a1003110104p2f329103mc882c99bcc15ea51@mail.gmail.com> From: Cole To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: bus_space_tag, bus_space_handle X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 09:35:39 -0000 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. Regards /Cole