NetBSD-Desktop archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: device output pciconf for hardware database?
Well, I can send the full pcictl dump inforrmation:
pcictl pci0 list| awk -F: '{print "pcictl pci0 dump -b "$1" -d "$2}'|sort -u|sh
- though that is a little wordy ( will send via separate email)
On 16 January 2012 07:44, 图潘 <patula777%gmail.com@localhost> wrote:
> thanks for the dump.
>
> Is it also possible to list vendor / device id's and their subsystem id's
> Something that looks more like this line
> isab0@pci0:0:31:0: class=0x060100 card=0x50011458 chip=0x3a188086
> rev=0x00 hdr=0x00
>
>
>
> On Mon, Jan 16, 2012 at 12:39 AM, David Brownlee <abs%netbsd.org@localhost>
> wrote:
>>
>> On 15 January 2012 18:02, 图潘 <patula777%gmail.com@localhost> wrote:
>> > Hi,
>> >
>> > first of all, I was not sure which would be the correct mailing list, be
>> > forgiveful.
>> >
>> > We are planninig on adding netbsd support to the hardware driver support
>> > list temporarily hosted at http://freebsd.0fees.net
>> >
>> > As nobody of us has a running netbsd system i wanted to ask if there is
>> > a
>> > command like pciconf (from freebsd) on netbsd.
>> > If not, is there any equivilant and could you paste a sample output.
>> >
>>
>> Well there is pcictl:
>>
>> % pcictl pci0 list
>> 000:00:0: Intel 82GM45 Host Bridge (host bridge, revision 0x07)
>> 000:01:0: Intel product 0x2a41 (PCI bridge, revision 0x07)
>> 000:02:0: Intel 82GM45 Integrated Graphics Device (VGA display, revision
>> 0x07)
>> 000:03:0: Intel product 0x2a44 (miscellaneous communications, revision
>> 0x07)
>> 000:25:0: Intel 82801I Mobile (AMT) LAN Controller (ethernet network,
>> revision 0x03)
>> 000:26:0: Intel 82801I USB UHCI Controller (USB serial bus, revision 0x03)
>> 000:26:1: Intel 82801I USB UHCI Controller (USB serial bus, revision 0x03)
>> 000:26:2: Intel 82801I USB UHCI Controller (USB serial bus, revision 0x03)
>> 000:26:7: Intel 82801I USB EHCI Controller (USB serial bus, interface
>> 0x20, revision 0x03)
>> 000:27:0: Intel 82801I High Definition Audio Controller (multimedia,
>> subclass 0x03, revision 0x03)
>> 000:28:0: Intel 82801I PCI Express Port #1 (PCI bridge, revision 0x03)
>> 000:28:1: Intel 82801I PCI Express Port #2 (PCI bridge, revision 0x03)
>> 000:28:3: Intel 82801I PCI Express Port #4 (PCI bridge, revision 0x03)
>> 000:28:4: Intel 82801I PCI Express Port #5 (PCI bridge, revision 0x03)
>> 000:29:0: Intel 82801I USB UHCI Controller (USB serial bus, revision 0x03)
>> 000:29:1: Intel 82801I USB UHCI Controller (USB serial bus, revision 0x03)
>> 000:29:2: Intel 82801I USB UHCI Controller (USB serial bus, revision 0x03)
>> 000:29:7: Intel 82801I USB EHCI Controller (USB serial bus, interface
>> 0x20, revision 0x03)
>> 000:30:0: Intel 82801BAM Hub-PCI Bridge (PCI bridge, interface 0x01,
>> revision 0x93)
>> 000:31:0: Intel 82801IEM LPC Interface Bridge (ISA bridge, revision 0x03)
>> 000:31:2: Intel 82801I Mobile AHCI SATA Controller with 4 ports (SATA
>> mass storage, interface 0x01, revision 0x03)
>> 000:31:3: Intel 82801I SMBus Controller (SMBus serial bus, revision 0x03)
>> 001:00:0: ATI Technologies product 0x9591 (VGA display)
>> 003:00:0: Intel WiFi Link 5100 (miscellaneous network)
>> 021:00:0: Ricoh 5C476 PCI-CardBus Bridge (CardBus bridge, revision 0xba)
>> 021:00:1: Ricoh 5C832 PCI-SD/MMC/MMC+/MS/xD/Firewire (Firewire serial
>> bus, interface 0x10, revision 0x04)
>> 021:00:2: Ricoh 5C822 PCI-CardBus Bridge/MS/SD/MMC/SC (SD Host
>> Controller system, revision 0x21)
>> 021:00:3: Ricoh 5C843 PCI-CardBus Bridge/SD/MMC/MMC+/MS/xD/Firewire
>> (miscellaneous system, revision 0x11)
>> 021:00:4: Ricoh 5C592 PCI-CardBus Bridge/MS/SD/Firewire (miscellaneous
>> system, revision 0x11)
>> 021:00:5: Ricoh xD-Picture Card Controller (miscellaneous system, revision
>> 0x11)
>>
>> and also drvctl, which lists more devices, but not in a helpful way :)
>>
>> sudo drvctl -l -t
>> mainbus0
>> cpu0
>> acpicpu0
>> coretemp0
>> cpu1
>> acpicpu1
>> coretemp1
>> ioapic0
>> acpi0
>> acpiecdt0
>> hpet0
>> acpiec0
>> acpilid0
>> acpibut0
>> attimer1
>> pcppi1
>> midi0
>> sysbeep0
>> pckbc1
>> pckbd0
>> wskbd0
>> pms0
>> wsmouse0
>> pckbc2
>> acpibat0
>> acpiacad0
>> thinkpad0
>> acpivga0
>> acpiout0
>> acpiout1
>> acpiout2
>> acpiout3
>> acpiout4
>> acpivga1
>> acpiout5
>> acpiout6
>> acpiout7
>> acpiout8
>> acpiwmi0
>> acpitz0
>> acpitz1
>> pci0
>> pchb0
>> agp0
>> ppb0
>> pci1
>> vga0
>> wsdisplay0
>> i915drm0
>> wm0
>> makphy0
>> uhci0
>> usb0
>> uhub0
>> uhci1
>> usb1
>> uhub1
>> ugen0
>> uhci2
>> usb2
>> uhub2
>> ehci0
>> usb3
>> uhub3
>> hdaudio0
>> hdafg0
>> audio0
>> ppb1
>> pci2
>> ppb2
>> pci3
>> iwn0
>> ppb3
>> pci4
>> ppb4
>> pci5
>> uhci3
>> usb4
>> uhub4
>> uhci4
>> usb5
>> uhub5
>> uhci5
>> usb6
>> uhub6
>> ehci1
>> usb7
>> uhub7
>> ppb5
>> pci6
>> cbb0
>> cardslot0
>> cardbus0
>> pcmcia0
>> fwohci0
>> ieee1394if0
>> fwip0
>> sdhc0
>> sdmmc0
>> ichlpcib0
>> isa0
>> ahcisata0
>> atabus0
>> wd0
>> atabus1
>> ichsmb0
>> iic0
>> pad0
>> audio1
>> cgd0
>
>
Home |
Main Index |
Thread Index |
Old Index