Subject: using pcictl?
To: None <netbsd-help@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 03/13/2004 09:37:17
Can anyone share examples of using pcictl?

rainier:/usr/src/usr.sbin/pcictl$ pcictl /dev/pci1 list
001:00:0: 3Dfx Interactive Banshee (VGA display, revision 0x03)

I want to see more details.

And can I get it to show all info for all pci devices at one time?

My goal is to be like FreeBSD's "pciconf -lv" which lists all pci devices
and attempt to print vendor, device, class and sub-class identification
strings for each device.

Without identification strings, it is like:

foo0@pci0:4:0: class=0x010000 card=0x00000000 chip=0x000f1000 rev=0x01
hdr=0x00

Do we include a vendor/device information database?

   Jeremy C. Reed
   http://www.reedmedia.net/