From owner-freebsd-arch@FreeBSD.ORG Thu Apr 15 14:58:26 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 015BF106564A; Thu, 15 Apr 2010 14:58:25 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 802CF8FC08; Thu, 15 Apr 2010 14:58:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o3FEljvH072965; Thu, 15 Apr 2010 08:47:45 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 15 Apr 2010 08:48:00 -0600 (MDT) Message-Id: <20100415.084800.714788496340685106.imp@bsdimp.com> To: daniel.rodrick@gmail.com From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Multiple PCI controllers X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2010 14:58:26 -0000 In message: Daniel Rodrick writes: : Can some one please help me understand how did the old FreeBSD kernel : that DID not have the PCI domains concept (say 6.x) used to deal with : systems that had multiple PCI / PCIe controllers on them, from a bus : numbering point of view? Was there a unified PCI tree - thus each PCI : bus number being unique in the system? FreeBSD has handled multiple PCI domains for a very long time. The support was added so that the Alpha machines could run FreeBSD. The bus numbers were whatever the BIOS programmed them to be. FreeBSD doesn't program bus numbers at all, except in some very limited cases. : Also, how is this dealt with now? The same. Each host controller will have a pci device tree under it. Warner