From owner-freebsd-current@FreeBSD.ORG Sun May 25 19:37:44 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E0FF37B401 for ; Sun, 25 May 2003 19:37:44 -0700 (PDT) Received: from hyperreal.net (marduk.tessellated.net [64.46.156.14]) by mx1.FreeBSD.org (Postfix) with SMTP id 88A2543F75 for ; Sun, 25 May 2003 19:37:43 -0700 (PDT) (envelope-from dkl@hyperreal.net) Received: (qmail 27498 invoked by uid 1009); 26 May 2003 02:37:42 -0000 Date: Sun, 25 May 2003 22:37:42 -0400 (EDT) From: John Dhmioyrgos X-X-Sender: John Dhmioyrgos To: mark tinguely In-Reply-To: <200305231520.h4NFKG2e030159@web.cs.ndsu.nodak.edu> Message-ID: <0305252222050.0.pimpmail@mailhub> References: <200305231520.h4NFKG2e030159@web.cs.ndsu.nodak.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: BCM5703 GigE ifs on Supermicro X5DL8-GG m/b not detected on5.1-BETA2 or 4.8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 26 May 2003 02:37:44 -0000 http://www.teq.org/jd/pciwalk.out.clean.bz2 11M compressed. I'd suspect the bridge chips are being found, since each PCI-X slot is basically one bus and all of the addon cards in there come up. regards, John On Fri, 23 May 2003, mark tinguely wrote: > If FreeBSD 4.8 does not know about the ServerWorks PCI bridge chips, then > devices on the higher buses are not found. I am surprised that the ACPI > in FreeBSD 5.x did not find them though. > > If the PCI bridge chips are not being discovered, I know in FreeBSD 4.8 > we can add the entry. I am not a real expert in the ACPI code though in > FreeBSD 5.x. > > If you would do an extensive PCI bus search (with pciwalk script below), > it will tell us what the the PCI bridge chips, and which bus holds the > missing GigE card. > > ---pciwalk script--- > from() { > usage="usage: from to [by ]" > let i=${1?$usage} > let j=${3?$usage} > let k=${5-1} > > if (( i <=j )) ; then > while (( i<=j )) ; do > echo $i > let i=i+k > done > else > while (( i>=j )) ; do > echo $i > let i=i+k > done > fi > } > > > for pci in $(from 0 to 255); do > for slot in $(from 0 to 31); do > for func in $(from 0 to 15); do > zero=$(pciconf -r pci$pci:$slot:$func 0 | sed 's/ //g') > > [[ $zero = 0xffffffff ]] && { continue; } > [[ $zero = 0x00000000 ]] && { continue; } > > echo "$pci:$slot:$func 0 " :$zero: > > for addr in $(from 4 to 255 by 4); do > echo -n "$pci:$slot:$func $addr " > pciconf -r pci$pci:$slot:$func $addr > done | grep -v -e 0xffffffff -e 0x00000000 > done > done > done > --end pciwalk script-- > > --Mark Tinguely >