Intel PCI Switch User Manual


 
GigMAC-PMC and PCI
GigPMC Switch Board and Driver Users Manual
DSS NETWORKS, INC. Version: 2.6 Page: 37
10.3.2 PCI REGISTERS SHOW FUNCTION
vxWorks usage:
inShowPciRegs(unit) # unit = device index starting from 0
Linux usage:
n/a – use Linux “lsdev” command (see man page for command ‘lsdev’)
Command output:
in: unit: 0, bus: 16, dev: 1, func: 0, pci regs:
device&vendor: 81885120
stsAndErrs: 02300017
membaseCsr: 00020004
flashbaseCsr: 00000000
iobaseCsr: 00001001
membaseUpper: 00000000
irq: 00ff0106
cfgLat/cache: 00802408