From owner-freebsd-sparc64@FreeBSD.ORG Mon Jun 9 21:49:54 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B7CE37B401; Mon, 9 Jun 2003 21:49:54 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 494A943FD7; Mon, 9 Jun 2003 21:49:50 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h5A4nNkA007821; Mon, 9 Jun 2003 22:49:23 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 09 Jun 2003 22:48:25 -0600 (MDT) Message-Id: <20030609.224825.78717109.imp@bsdimp.com> To: ticso@cicely.de, ticso@cicely12.cicely.de From: "M. Warner Losh" In-Reply-To: <20030610022706.GI509@cicely12.cicely.de> References: <20030609165838.32044@hydrogen.funkthat.com> <20030610022706.GI509@cicely12.cicely.de> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: gurney_j@resnet.uoregon.edu cc: freebsd-current@freebsd.org cc: freebsd-sparc64@freebsd.org Subject: Re: PCI bus numbering and orphaned devices X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 04:49:54 -0000 In message: <20030610022706.GI509@cicely12.cicely.de> Bernd Walter writes: : On Mon, Jun 09, 2003 at 04:58:38PM -0700, John-Mark Gurney wrote: : > Hello, : > : > I've recently started work on making FreeBSD work better on a sparc64 : > box that a friend has. It's a Netra AX1105-500 (UltraSPARC-IIe 500MHz). : > : > So far I have found out that the pci bus numbering has problems. We : > don't attach pci busses as they are numbered in the bridge/OFW info. : > This causes problems with pciconf -l and pciconf -{w,r} not agreeing. : > It isn't too hard to tie down the busses to make pciconf agree with : > itself. I have similar issues with cardbus cards... ... : > Of course the correct way to fix it would be to mirror the OFW tree, : > and then probe any devices that exist in the OFW tree, but not in our : > device tree. why is this the correct way to fix it? don't mean to be difficult, just don't see why sparc64 needs to eb different. Warner