Newbus help

M. Warner Losh imp at bsdimp.com
Mon Dec 31 21:31:41 PST 2007


In message: <b63e753b0712312044o1528e57dsa8aad1ce8c952d71 at mail.gmail.com>
            "Tiffany Snyder" <tiffany.snyder at gmail.com> writes:
: On Dec 31, 2007 9:52 AM, John Baldwin <jhb at freebsd.org> wrote:
: >
: > On Saturday 29 December 2007 02:39:41 pm Tiffany Snyder wrote:
: > > Hi,
: > > I'm bringing up a system with FreeBSD-6.2 that has 2 Host Bridges. 1
: > > host-PCI and the other is host-Hypertransport bridge. Currently only
: > > the host-PCI bridge gets recognized and cleanly attaches all the
: > > devices underneath it. The questions are;
: > > (1) Can you tell or point to a piece of code that adds a second host
: > > bridge? I assume this get added as a child of nexus
: > > (2) How do I go about defining bus methods for the host-HT bridge and
: > > automatically enabling the newbus system to probe and attach child
: > > devices and bridges below it? Again, pointer to example code is
: > > welcome.
: >
: > Are you using ACPI or a custom BIOS of some sort?
: 
: Custom BIOS that only sets up the PCI host bridge. SW has to manually
: bootstrap the HT host bridge, attach and manage resources for all the
: children below it.

FreeBSD's pci bridge driver doesn't do all the things needed to do
this.  We'd be happy to help you add them to the driver.  It is
something that's been needed for a while, and blocking on another
long-term feature, but something that could be done without it
(although less eloquently).

Warner


More information about the freebsd-new-bus mailing list