summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2006-11-15 02:49:50 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-01-27 22:14:20 +0200
commitd86245be3bd57b29e5b7561b3facecb3298fea3b (patch)
tree69cc3123cc1cca814288e16cd93526f0954dc27e
parentcc1d08f113140010f49503adc4e7afe5db892a02 (diff)
scanpci: BIST line offsets were off by 4.
-rw-r--r--src/scanpci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scanpci.c b/src/scanpci.c
index 0d2d604..510b467 100644
--- a/src/scanpci.c
+++ b/src/scanpci.c
@@ -113,10 +113,10 @@ print_pci_device( struct pci_device * dev, int verbose )
(dev->device_class >> 0) & 0x0ff,
dev->revision );
- pci_device_cfg_read_u8( dev, & cache_line_size, 8 );
- pci_device_cfg_read_u8( dev, & latency_timer, 9 );
- pci_device_cfg_read_u8( dev, & header_type, 10 );
- pci_device_cfg_read_u8( dev, & bist, 11 );
+ pci_device_cfg_read_u8( dev, & cache_line_size, 12 );
+ pci_device_cfg_read_u8( dev, & latency_timer, 13 );
+ pci_device_cfg_read_u8( dev, & header_type, 14 );
+ pci_device_cfg_read_u8( dev, & bist, 15 );
printf( " BIST 0x%02x HEADER 0x%02x LATENCY 0x%02x CACHE 0x%02x\n",
bist,