Project

General

Profile

Actions

Feature #14547

open

it would be nice if 'prtconf -dp' worked

Added by Rich Lowe 4 months ago. Updated 25 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
cmd - userland programs
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

There doesn't seem to be a way to get prtconf(1M)'s device lookup and and prom-tree printing to happen at the same time. It'd be nice if there was

Actions #1

Updated by Sachidananda Urs 25 days ago

After my changes:

$ prtconf -dp

System Configuration:  Gigabyte Technology Co., Ltd.  i86pc
Memory size: 8080 Megabytes
System Peripherals (PROM Nodes):

Node 'i86pc'
    Node 'ramdisk'
    Node 'pci'
        Node 'pci1458,5000' (pciex8086,c00) [Intel Corporation 4th Gen Core Processor DRAM Controller]
        Node 'display' (pciex8086,412) [Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller]
        Node 'pci8086,2010' (pciex8086,c0c) [Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller]
        Node 'pci1458,5007' (pciex8086,8cb1) [Intel Corporation 9 Series Chipset Family USB xHCI Controller]
        Node 'pci1458,1c3a' (pciex8086,8cba) [Intel Corporation 9 Series Chipset Family ME Interface #1]
        Node 'pci1458,e000' (pciex8086,153b) [Intel Corporation Ethernet Connection I217-V]
        Node 'pci1458,5006' (pciex8086,8cad) [Intel Corporation 9 Series Chipset Family USB EHCI Controller #2]
        Node 'pci1458,a182' (pciex8086,8ca0) [Intel Corporation 9 Series Chipset Family HD Audio Controller]
        Node 'pci8086,8c90' (pciex8086,8c90) [Intel Corporation 9 Series Chipset Family PCI Express Root Port 1]
        Node 'pci8086,8c96' (pciex8086,8c96) [Intel Corporation 9 Series Chipset Family PCI Express Root Port 4]
            Node 'pci1458,e000' (pciex1969,1091) [Qualcomm Atheros AR8161 Gigabit Ethernet]
        Node 'pci8086,8c98' (pciex8086,8c98) [Intel Corporation 9 Series Chipset Family PCI Express Root Port 5]
            Node 'pci8086,4070' (pciex8086,8b1) [Intel Corporation Wireless 7260]
        Node 'pci1458,5006' (pciex8086,8ca6) [Intel Corporation 9 Series Chipset Family USB EHCI Controller #1]
        Node 'isa' (pciex8086,8cc6) [Intel Corporation H97 Chipset LPC Controller]
            Node 'asy'
        Node 'pci1458,b005' (pciex8086,8c82) [Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]]
        Node 'pci1458,5001' (pciex8086,8ca2) [Intel Corporation 9 Series Chipset Family SMBus Controller]
    Node 'fw'
        Node 'cpu'
        Node 'cpu'
        Node 'cpu'
        Node 'cpu'
        Node 'sb'
    Node 'used-resources'

Before:

System Configuration:  Gigabyte Technology Co., Ltd.  i86pc
Memory size: 8080 Megabytes
System Peripherals (PROM Nodes):

Node 'i86pc'
    Node 'ramdisk'
    Node 'pci'
        Node 'pci1458,5000'
        Node 'display'
        Node 'pci8086,2010'
        Node 'pci1458,5007'
        Node 'pci1458,1c3a'
        Node 'pci1458,e000'
        Node 'pci1458,5006'
        Node 'pci1458,a182'
        Node 'pci8086,8c90'
        Node 'pci8086,8c96'
            Node 'pci1458,e000'
        Node 'pci8086,8c98'
            Node 'pci8086,4070'
        Node 'pci1458,5006'
        Node 'isa'
            Node 'asy'
        Node 'pci1458,b005'
        Node 'pci1458,5001'
    Node 'fw'
        Node 'cpu'
        Node 'cpu'
        Node 'cpu'
        Node 'cpu'
        Node 'sb'
    Node 'used-resources'

I'll do some more testing before submitting for review. Hope this was the intended behavior.

Actions

Also available in: Atom PDF