summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-05-21 16:10:24 +1000
committerDave Airlie <airlied@redhat.com>2008-05-21 16:10:24 +1000
commit4bc9292ff9338e759eb9a73f12edfa5ca87353e0 (patch)
tree657cdfbc0008e28ed942e158fe8b5b7bc1faa4ff /include
parentded8326f2adadc773b34889474a0d4fc20ef387a (diff)
linux: add pci_device_enable entrypoint and sysfs support for it
Diffstat (limited to 'include')
-rw-r--r--include/pciaccess.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pciaccess.h b/include/pciaccess.h
index de8b4b3..cf32876 100644
--- a/include/pciaccess.h
+++ b/include/pciaccess.h
@@ -110,6 +110,8 @@ const char *pci_device_get_subdevice_name(const struct pci_device *dev);
const char *pci_device_get_vendor_name(const struct pci_device *dev);
const char *pci_device_get_subvendor_name(const struct pci_device *dev);
+void pci_device_enable(struct pci_device *dev);
+
int pci_device_cfg_read (struct pci_device *dev, void *data,
pciaddr_t offset, pciaddr_t size, pciaddr_t *bytes_read);
int pci_device_cfg_read_u8 (struct pci_device *dev, uint8_t *data,