From owner-freebsd-new-bus@FreeBSD.ORG Mon Dec 31 18:30:44 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 2F81116A469 for ; Mon, 31 Dec 2007 18:30:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id CEB5F13C4D1 for ; Mon, 31 Dec 2007 18:30:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8q) with ESMTP id 226821215-1834499 for multiple; Mon, 31 Dec 2007 13:16:58 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id lBVIEVwk098321; Mon, 31 Dec 2007 13:14:31 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-new-bus@freebsd.org Date: Mon, 31 Dec 2007 12:52:05 -0500 User-Agent: KMail/1.9.6 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712311252.06116.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 31 Dec 2007 13:14:31 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5311/Mon Dec 31 12:05:08 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Re: 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: Mon, 31 Dec 2007 18:30:44 -0000 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? -- John Baldwin