From owner-freebsd-new-bus@FreeBSD.ORG Sat Dec 29 20:07:54 2007 Return-Path: Delivered-To: freebsd-new-bus@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD2BB16A418 for ; Sat, 29 Dec 2007 20:07:54 +0000 (UTC) (envelope-from tiffany.snyder@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id B380913C468 for ; Sat, 29 Dec 2007 20:07:54 +0000 (UTC) (envelope-from tiffany.snyder@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so4378378rvb.43 for ; Sat, 29 Dec 2007 12:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=OJHvatokJrkcMrcElkAWYpI5xQQ7l6WBuj3avTNnQYA=; b=EgTpPEN6IezLWEoZwr8pabjwC9FsE4gKN9aPiW9XeyuqEvX2Nj/tpjlyUho8HfnjC5NblkktEBsChl1O+CYsRriqL1lLSiggOZ4atiudyqugTmPp0aRd4lVdA8JeOpahzYrKnzAjYed1xJVLd6db/gfLH7ZPnFVZb8uKX1tx0zA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kh5uHWLcYieZ6g0484r7KR6BvmPel2FB4HjAOT+gP9YkN+rsy2lvkZQ0eeyA4Q+VdyATG7yQuMMYz/r6/2z2ydvGxR1Yslvm07KYpDwYwEru2f/EKz4g2Ei10Gl9Sgp4VHeHDZXYjQ+dMeOGX9nutk3MaSkHm9LMpVLoyPLSX78= Received: by 10.142.245.10 with SMTP id s10mr3368475wfh.186.1198957181481; Sat, 29 Dec 2007 11:39:41 -0800 (PST) Received: by 10.142.44.7 with HTTP; Sat, 29 Dec 2007 11:39:41 -0800 (PST) Message-ID: Date: Sat, 29 Dec 2007 11:39:41 -0800 From: "Tiffany Snyder" To: freebsd-new-bus@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Newbus help X-BeenThere: freebsd-new-bus@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD's new-bus architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2007 20:07:54 -0000 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. Thanks, Tiffany Snyder.