diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-09-26 08:39:57 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-10-03 14:02:44 -0400 |
commit | 8daa135ae9eae0a0ed48cc68d6abce16141cd426 (patch) | |
tree | 22132c01cba06aa7f4504f3151928c4a5e69586a | |
parent | dcb79a20cba1eaaa83158b80bb538d50b003bd79 (diff) |
scanpci.c: remove offending whitespace as reported by git diff
Reviewed-by: RĂ©mi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | scanpci/scanpci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scanpci/scanpci.c b/scanpci/scanpci.c index 34ec664..36ecf04 100644 --- a/scanpci/scanpci.c +++ b/scanpci/scanpci.c @@ -67,7 +67,7 @@ print_pci_device( struct pci_device * dev, int verbose ) printf("domain 0x%04x ", dev->domain); printf("bus 0x%04x cardnum 0x%02x function 0x%02x:" " vendor 0x%04x device 0x%04x\n", - dev->bus, + dev->bus, dev->dev, dev->func, dev->vendor_id, @@ -78,7 +78,7 @@ print_pci_device( struct pci_device * dev, int verbose ) else { printf( " %s\n", dev_name ); } - + if ( verbose ) { unsigned i; uint16_t command, status; @@ -109,7 +109,7 @@ print_pci_device( struct pci_device * dev, int verbose ) pci_device_cfg_read_u16( dev, & command, 4 ); pci_device_cfg_read_u16( dev, & status, 6 ); - printf( " STATUS 0x%04x COMMAND 0x%04x\n", + printf( " STATUS 0x%04x COMMAND 0x%04x\n", status, command ); printf( " CLASS 0x%02x 0x%02x 0x%02x REVISION 0x%02x\n", @@ -128,7 +128,7 @@ print_pci_device( struct pci_device * dev, int verbose ) header_type, latency_timer, cache_line_size ); - + pci_device_probe( dev ); for ( i = 0 ; i < 6 ; i++ ) { if ( dev->regions[i].base_addr != 0 ) { @@ -143,7 +143,7 @@ print_pci_device( struct pci_device * dev, int verbose ) printf( " PREFETCHABLE" ); } } - + printf( "\n" ); } } |