From: George Sapountzis Date: Wed, 15 Nov 2006 00:49:50 +0000 (+0200) Subject: scanpci: BIST line offsets were off by 4. X-Git-Tag: libpciaccess-0.9.1~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d86245be3bd57b29e5b7561b3facecb3298fea3b;p=platform%2Fupstream%2Flibpciaccess.git scanpci: BIST line offsets were off by 4. --- 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,