diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-01-15 11:18:19 -0800 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-01-15 11:18:19 -0800 |
commit | 37ce43c1804bad9c52b8316eaefd3a57b670ee29 (patch) | |
tree | e3f11f08d2ca0b462a395c45d804f789970ee40b /include | |
parent | c65aa7630802c8dfcc06a20e515ace31ab0d0e48 (diff) |
Convert pci_device_write_u* funtions to take a value instead of a pointer.
At anholt's request, the pci_device_write_u* functions have been
converted to take the value to be written as a parameter instead of a
pointer to the value.
Bump the version to 0.8.0.
Diffstat (limited to 'include')
-rw-r--r-- | include/pciaccess.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/pciaccess.h b/include/pciaccess.h index a0cf067..8ea6700 100644 --- a/include/pciaccess.h +++ b/include/pciaccess.h @@ -102,12 +102,12 @@ int pci_device_cfg_read_u32( struct pci_device * dev, uint32_t * data, int pci_device_cfg_write ( struct pci_device * dev, const void * data, pciaddr_t offset, pciaddr_t size, pciaddr_t * bytes_written ); -int pci_device_cfg_write_u8 ( struct pci_device * dev, const uint8_t * data, - pciaddr_t offset ); -int pci_device_cfg_write_u16( struct pci_device * dev, const uint16_t * data, - pciaddr_t offset ); -int pci_device_cfg_write_u32( struct pci_device * dev, const uint32_t * data, - pciaddr_t offset ); +int pci_device_cfg_write_u8 (struct pci_device *dev, uint8_t data, + pciaddr_t offset); +int pci_device_cfg_write_u16(struct pci_device *dev, uint16_t data, + pciaddr_t offset); +int pci_device_cfg_write_u32(struct pci_device *dev, uint32_t data, + pciaddr_t offset); int pci_device_cfg_write_bits( struct pci_device * dev, uint32_t mask, uint32_t data, pciaddr_t offset ); |