From owner-freebsd-questions  Mon Nov  5 17:19:19 2001
Delivered-To: freebsd-questions@freebsd.org
Received: from mta02.mail.mel.aone.net.au (mta02.mail.au.uu.net [203.2.192.82])
	by hub.freebsd.org (Postfix) with ESMTP id 2031237B405
	for <questions@FreeBSD.ORG>; Mon,  5 Nov 2001 17:19:16 -0800 (PST)
Received: from ausyddtp0050.ozemail.com.au ([203.166.66.104])
          by mta02.mail.mel.aone.net.au with ESMTP
          id <20011106011913.BHS10382.mta02.mail.mel.aone.net.au@ausyddtp0050.ozemail.com.au>
          for <questions@FreeBSD.ORG>; Tue, 6 Nov 2001 12:19:13 +1100
Message-Id: <5.1.0.14.2.20011106121304.04ff2bd0@pop.ozemail.com.au>
X-Sender: rbyrnes@pop.ozemail.com.au
X-Mailer: I wish it was Linux
Date: Tue, 06 Nov 2001 12:16:49 +1100
To: questions@FreeBSD.ORG
From: Rob B <rbyrnes@ozemail.com.au>
Subject: Re: /proc/pci equivalent?
In-Reply-To: <Pine.BSF.3.96.1011105195644.44146F-100000@localhost>
References: <5.1.0.14.2.20011106114638.020d9d90@pop.ozemail.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-questions.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
X-Loop: FreeBSD.ORG

At 11:59 6/11/2001, Chris Hill sent this up the stick:
>On Tue, 6 Nov 2001, Rob B wrote:
>
> > Is there a way to see what is on the PCI bus of a system?  Under Linux, I
> > could do :
> >
> >          cat /proc/pci
> >
> > and get a dump of everything on the bus.  Is there a command like it in
> > FreeBSD?
>
>You could try scanpci - it tells you stuff like
>
>pci bus 0x0 cardnum 0x12 function 0x0000: vendor 0x1000 device 0x000f
>  NCR 53C875
>   STATUS    0x0210  COMMAND 0x0007
>   CLASS     0x01 0x00 0x00  REVISION 0x26
>   BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x08
>...etc., blah bla

Unfortunately, scanpci doesn't exist on my system (or in the ports) and 
Matthew's suggestion of Kcontrol is no good since this box doesn't run 
X.  dmesg shows me what is loaded, but there is a sound device that is not 
being shown, and I know it is there.

Anything else?

Rob


--
Discordianism: Where reality is a figment of your imagination

[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian
This is random quote 331 of a collection of 1184


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message