
GRMON3-UM
June 2019, Version 3.1.0
79
www.cobham.com/gaisler
IRQ INTA# LINE: 0
BAR 0: 80000008 [32MB]
BAR 1: 83000000 [16kB]
BAR 2: 82800000 [8MB]
ROM: 82000001 [128kB] (ENABLED)
Bus 2 Slot 2 function: 0 [0x210]
Vendor id: 0x10b9 (ULi Electronics Inc.)
Device id: 0x5237 (USB 1.1 Controller)
IRQ INTB# LINE: 0
BAR 0: 82202000 [4kB]
Bus 2 Slot 2 function: 1 [0x211]
Vendor id: 0x10b9 (ULi Electronics Inc.)
Device id: 0x5237 (USB 1.1 Controller)
IRQ INTC# LINE: 0
BAR 0: 82201000 [4kB]
Bus 2 Slot 2 function: 2 [0x212]
Vendor id: 0x10b9 (ULi Electronics Inc.)
Device id: 0x5237 (USB 1.1 Controller)
IRQ INTD# LINE: 0
BAR 0: 82200000 [4kB]
Bus 2 Slot 2 function: 3 [0x213]
Vendor id: 0x10b9 (ULi Electronics Inc.)
Device id: 0x5239 (USB 2.0 Controller)
IRQ INTA# LINE: 0
BAR 0: 82203200 [256B]
Bus 2 Slot 3 function: 0 [0x218]
Vendor id: 0x1186 (D-Link System Inc)
Device id: 0x4000 (DL2000-based Gigabit Ethernet)
IRQ INTA# LINE: 0
BAR 0: 1001 [256B]
BAR 1: 82203000 [512B]
ROM: 82100001 [64kB] (ENABLED)
grmon3> pci bus reg
grmon3> info sys pdev0 pdev5 pdev10
pdev0 Bus 00 Slot 01 Func 00 [0:1:0]
vendor: 0x10b9 ULi Electronics Inc.
device: 0x5451 M5451 PCI AC-Link Controller Audio Device
class: 040100 (MULTIMEDIA)
BAR1: 00001200 - 00001300 I/O-32 [256B]
BAR2: 82206000 - 82207000 MEMIO [4kB]
IRQ INTA# -> IRQX
pdev5 Bus 00 Slot 09 Func 00 [0:9:0]
vendor: 0x104c Texas Instruments
device: 0xac23 PCI2250 PCI-to-PCI Bridge
class: 060400 (PCI-PCI BRIDGE)
Primary: 0 Secondary: 2 Subordinate: 2
I/O Window: 00001000 - 00002000
MEMIO Window: 82200000 - 82300000
MEM Window: 82100000 - 82200000
pdev10 Bus 02 Slot 03 Func 00 [2:3:0]
vendor: 0x1186 D-Link System Inc
device: 0x4000 DL2000-based Gigabit Ethernet
class: 020000 (ETHERNET)
subvendor: 0x1186, subdevice: 0x4004
BAR1: 00001000 - 00001100 I/O-32 [256B]
BAR2: 82203000 - 82203200 MEMIO [512B]
ROM: 82100000 - 82110000 MEM [64kB]
IRQ INTA# -> IRQW
A configured PCI system can be registered into the GRMON device handling system similar to the on-chip AMBA
bus devices, controlled using the pci bus commands. GRMON will hold a copy of the PCI configuration in memory
until a new pci conf, pci bus unreg or pci scan is issued. The user is responsible for updating GRMON's PCI
configuration if the configuration is updated in hardware. The devices can be inspected from info sys and Tcl
variables making read and writing PCI devices configuration space easier. The Tcl variables are named in a similar
fashion to AMBA devices, for example puts $pdev0::status prints the STATUS register of PCI device0. See pci
bus reference description and Appendix C, Tcl API.
NOTE: Only the pci info command has any effect on non-host systems.
Also note that the pci conf command can fail to configure all found devices if the PCI address space addressable
by the PCI Host controller is smaller than the amount of memory needed by the devices.