From owner-cvs-all@FreeBSD.ORG Sat Feb 19 19:55:27 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8C8D16A4CE; Sat, 19 Feb 2005 19:55:26 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BEFC43D41; Sat, 19 Feb 2005 19:55:26 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j1JJtEE1001472 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 19 Feb 2005 20:55:16 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j1JJsS55069572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Feb 2005 20:54:29 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j1JJsRPH021767; Sat, 19 Feb 2005 20:54:27 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j1JJsMue021765; Sat, 19 Feb 2005 20:54:22 +0100 (CET) (envelope-from ticso) Date: Sat, 19 Feb 2005 20:54:22 +0100 From: Bernd Walter To: Warner Losh Message-ID: <20050219195421.GR14312@cicely12.cicely.de> References: <20050218214654.GD14312@cicely12.cicely.de> <20050218.153509.85367062.imp@bsdimp.com> <20050218225241.GG14312@cicely12.cicely.de> <20050218.161930.74704297.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050218.161930.74704297.imp@bsdimp.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: ticso@cicely12.cicely.de cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: ticso@cicely.de cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/pci pci_pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 19:55:27 -0000 On Fri, Feb 18, 2005 at 04:19:30PM -0700, Warner Losh wrote: > > Unfortunately I just removed the bridged cards from the test box. > > If it is easy to test, please do. The machine I tried to test doesn't intialize sub busses at all :( pcib1: at device 8.0 on pci0 pcib1: secondary bus 1 pcib1: subordinate bus 0 pcib1: I/O decode 0x0-0x0 pcib1: memory decode 0xfff00000-0xfffff pcib1: prefetched decode 0xfff00000-0xfffff pci1: on pcib1 pci1: physical bus=1 map[10]: type 4, range 32, base 00000000, size 8, port disabled map[14]: type 1, range 32, base 00000000, size 12, memory disabled found-> vendor=0x9004, dev=0x7378, revid=0x03 bus=1, slot=4, func=0 class=01-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns) intpin=a, irq=255 map[10]: type 4, range 32, base 00000000, size 8, port disabled map[14]: type 1, range 32, base 00000000, size 12, memory disabled map[18]: type 3, range 32, base 00000000, size 21, enabled found-> vendor=0x9004, dev=0x1078, revid=0x00 bus=1, slot=5, func=0 class=05-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x02 (500 ns) intpin=a, irq=255 map[10]: type 4, range 32, base 00000000, size 8, port disabled map[14]: type 1, range 32, base 00000000, size 12, memory disabled found-> vendor=0x9004, dev=0x7378, revid=0x03 bus=1, slot=8, func=0 class=01-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns) intpin=a, irq=255 map[10]: type 4, range 32, base 00000000, size 8, port disabled map[14]: type 1, range 32, base 00000000, size 12, memory disabled found-> vendor=0x9004, dev=0x7378, revid=0x03 bus=1, slot=12, func=0 class=01-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords) This was a Noname - later machines route memory ranges and enable io ranges without activating them on bridges. Will have to retest with another box later. How much work would it be to route resources our own? I think you already do something like this for cardbus. Interrupt routing is already active for that machine so I just need memory and maybe io for stupid drivers/hardware, although io on alpha is just another memory range. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de