From owner-freebsd-current@FreeBSD.ORG Tue Oct 16 04:57:10 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0679716A417 for ; Tue, 16 Oct 2007 04:57:10 +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 BF38913C43E for ; Tue, 16 Oct 2007 04:57:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id l9G4stn6039381; Mon, 15 Oct 2007 22:54:55 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 15 Oct 2007 22:55:37 -0600 (MDT) Message-Id: <20071015.225537.43008411.imp@bsdimp.com> To: gurney_j@resnet.uoregon.edu From: "M. Warner Losh" In-Reply-To: <20071015234251.GR39759@funkthat.com> References: <20070930114914.GB38896@alchemy.franken.de> <47001D02.4080700@protected-networks.net> <20071015234251.GR39759@funkthat.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: imb@protected-networks.net, current@freebsd.org, marius@alchemy.franken.de Subject: Re: HEADS UP: [cvs commit: src UPDATING src/share/man/man4 pci.4 src/share/man/man9 pci.9 src/sys/amd64/include legacyvar.h src/sys/amd64/amd64 legacy.c src/sys/amd64/pci pci_bus.c src/sys/arm/xscale/i80321 i80321_pci.c src/sys/arm/xscale/ixp425 ... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 04:57:10 -0000 iIn message: <20071015234251.GR39759@funkthat.com> John-Mark Gurney writes: : Michael Butler wrote this message on Sun, Sep 30, 2007 at 18:02 -0400: : > Marius Strobl wrote: : > > As mentioned in UPDATING the change below requires the hal port : > > to be recompiled in order to continue to work. On !386 you : > > additionally need to update to xorg-server-1.4_1,1. : > > Regarding common ports affected by the introduction of support : > > for PCI domains these two ports should be it. : > > Other consumers of potentially also need to be : > > recompiled and adjusted, f.e. sjog needs to be recompiled but : > > should need no changes. Generally, if a port uses pc_bus it : > > also needs to deal with pc_domain now. : > : > This breaks [ls|set]pci even when recompiled. : > : > It also breaks my ability to use an /etc/rc.early containing .. : > : > pciconf -wb pci0:30:0 0x1a 8 : > : > .. which is required to allow any cardbus devices, e.g. Netgear WG511T, : > to work. The problem is that we don't (and nor does the BIOS) properly : > set the subordinate bus of the parent PCI-PCI bridge and the above : > command sets it 'manually'. : : Is there a PR for this? Could you send a verbose boot message for this? : It shouldn't be hard to fix, and pretty easy one to fix too. This is actually getting quite common these days. We need to fix it in the bus layer, but although I've scoped out the work, I've not had the time to execute. There's two ways to accomplish this. One is to go to a multi-pass newbus probe/attach. The other is to just walk the entire tree of each pci domain numbering the busses. We also need to do this for resources as well... Warner