diff options
author | Dave Airlie <airlied@redhat.com> | 2008-05-21 16:10:24 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-05-21 16:10:24 +1000 |
commit | 4bc9292ff9338e759eb9a73f12edfa5ca87353e0 (patch) | |
tree | 657cdfbc0008e28ed942e158fe8b5b7bc1faa4ff /include | |
parent | ded8326f2adadc773b34889474a0d4fc20ef387a (diff) | |
download | libpciaccess-4bc9292ff9338e759eb9a73f12edfa5ca87353e0.tar.gz libpciaccess-4bc9292ff9338e759eb9a73f12edfa5ca87353e0.tar.bz2 libpciaccess-4bc9292ff9338e759eb9a73f12edfa5ca87353e0.zip |
linux: add pci_device_enable entrypoint and sysfs support for it
Diffstat (limited to 'include')
-rw-r--r-- | include/pciaccess.h | 2 |
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, |