PROPHET/OS
NAME
pci: shows what sits on the bus
SYNOPSIS
pci [--tui]
DESCRIPTION
Shows what sits on the bus: vendor, device, class, line.
The first column is the address of a function, bus, device and function in the usual bb:dd.f. The kernel packs the three into one number so that one record serves every topic; taking it apart is this program's job. IDs is the pair the driver chooses by, and IRQ is the line the function was given, or a dash where it has none.
--tui takes the whole screen and keeps the list live; the arrows and the two page keys move in it, q leaves. Both shapes show the same table, and that is why they cannot drift apart: it stands once, in lib/os/board.c.
It was hw pci until 2026-10-02, one of four subjects behind one name.
EXAMPLE
$ pci bb:dd.f Vendor Device IDs IRQ 00:00.0 Intel host bridge 8086:29C0 - 00:01.0 QEMU VGA 1234:1111 - 00:02.0 Intel Ethernet 8086:10D3 11 00:03.0 serial bus 1760:FF00 11 00:04.0 Intel system device 8086:25AB - 00:1F.0 Intel ISA bridge 8086:2918 - 00:1F.2 Intel AHCI 8086:2922 10 00:1F.3 Intel SMBus 8086:2930 10