Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2003 22:37:42 -0400 (EDT)
From:      John Dhmioyrgos <jd@teq.org>
To:        mark tinguely <tinguely@web.cs.ndsu.nodak.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: BCM5703 GigE ifs on Supermicro X5DL8-GG m/b not detected on5.1-BETA2 or 4.8
Message-ID:  <0305252222050.0.pimpmail@mailhub>
In-Reply-To: <200305231520.h4NFKG2e030159@web.cs.ndsu.nodak.edu>
References:  <200305231520.h4NFKG2e030159@web.cs.ndsu.nodak.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <start> to <finish> [by <increm>]"
>         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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0305252222050.0.pimpmail>