aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/sys
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-08-01 12:51:28 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-08-01 12:51:28 -0700
commita56f1a4e63e9fc38294a2b96d1672d3fa532a7a8 (patch)
tree9ccca257fcc204c5d3c7c50cea4a2ffe30082b82 /com32/include/sys
parentb4bf076bd5a5ba6ed8f3b7f70cd1c2a0544a8502 (diff)
downloadsyslinux-a56f1a4e63e9fc38294a2b96d1672d3fa532a7a8.tar.gz
syslinux-a56f1a4e63e9fc38294a2b96d1672d3fa532a7a8.tar.xz
syslinux-a56f1a4e63e9fc38294a2b96d1672d3fa532a7a8.zip
pci: store device address
When scanning PCI devices, store the device address for reference. Based on a patch by Sebastian Herbszt. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/include/sys')
-rw-r--r--com32/include/sys/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/include/sys/pci.h b/com32/include/sys/pci.h
index adb25632..dd3b7ecf 100644
--- a/com32/include/sys/pci.h
+++ b/com32/include/sys/pci.h
@@ -19,6 +19,7 @@ struct pci_dev_info {
/* a struct to represent a pci device */
struct pci_device {
+ pciaddr_t addr;
uint16_t vendor;
uint16_t product;
uint16_t sub_vendor;