From owner-freebsd-new-bus@FreeBSD.ORG Tue Jan 1 04:45:01 2008 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 1A84816A418 for ; Tue, 1 Jan 2008 04:45:01 +0000 (UTC) (envelope-from tiffany.snyder@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id D955A13C448 for ; Tue, 1 Jan 2008 04:45:00 +0000 (UTC) (envelope-from tiffany.snyder@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so5220282rvb.43 for ; Mon, 31 Dec 2007 20:44:59 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=zrr4tnaOhlYVhtLORcmo2Sb+O2PPKYWOFyVKznQ1jW8=; b=I7dTwwbY4sJsW3UJwukNcjiJM+UPO2lbhT/bIuPRlKKboT1dxDRHJ/QTiyfaoavqbP4WGIf2VEoW8Ft95n5zAJhw34MqpJvkXh4+FYwcx/UH/J3pGGkWdFzvjXzvCwcgF8nrxwRNyqKH22TBMq7l11f/FKmTrLptfJjHuZyBOMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VQ71HFMeyiRif/9X91aYdCh73Vd8a1w8KxX28xmOcWxQzv6atlAXVrsR9Kdc06ehEaGpFq47CMCFqxu0hmbrQs3cx9jU79WvQ5CWCOaftDLbMoX42St58+BpaUD4IrDUGZic7nEJ7dZCEXn7AmuBcTDI/asIivn/VgArvruuV1M= Received: by 10.142.77.11 with SMTP id z11mr3714557wfa.23.1199162699936; Mon, 31 Dec 2007 20:44:59 -0800 (PST) Received: by 10.142.44.7 with HTTP; Mon, 31 Dec 2007 20:44:59 -0800 (PST) Message-ID: Date: Mon, 31 Dec 2007 20:44:59 -0800 From: "Tiffany Snyder" To: "John Baldwin" In-Reply-To: <200712311252.06116.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200712311252.06116.jhb@freebsd.org> Cc: freebsd-new-bus@freebsd.org 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: Tue, 01 Jan 2008 04:45:01 -0000 On Dec 31, 2007 9:52 AM, John Baldwin 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. Thanks, Tiffany Snyder