OSDN Git Service
(root)
/
android-x86
/
external-libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
393145d
)
Add domain output to scanpci.
author
Eric Anholt
<eric@anholt.net>
Wed, 10 Oct 2007 21:32:38 +0000
(14:32 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 10 Oct 2007 21:32:38 +0000
(14:32 -0700)
src/scanpci.c
patch
|
blob
|
history
diff --git
a/src/scanpci.c
b/src/scanpci.c
index
eb6e94f
..
c8a6adf
100644
(file)
--- a/
src/scanpci.c
+++ b/
src/scanpci.c
@@
-61,7
+61,10
@@
print_pci_device( struct pci_device * dev, int verbose )
dev_name = "Device unknown";
}
- printf("\npci bus 0x%04x cardnum 0x%02x function 0x%02x:"
+ printf("\npci ");
+ if (dev->domain != 0)
+ 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->dev,