Changeset 476f62c in mainline for uspace/lib/drv/include/pci_dev_iface.h
- Timestamp:
- 2014-01-17T17:26:48Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5828554, cf982ff
- Parents:
- 61b5b73d (diff), 66be0288 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/pci_dev_iface.h
r61b5b73d r476f62c 40 40 #include "ddf/driver.h" 41 41 42 typedef enum { 43 IPC_M_CONFIG_SPACE_READ_8, 44 IPC_M_CONFIG_SPACE_READ_16, 45 IPC_M_CONFIG_SPACE_READ_32, 42 #define PCI_DEVICE_ID 0x02 46 43 47 IPC_M_CONFIG_SPACE_WRITE_8, 48 IPC_M_CONFIG_SPACE_WRITE_16, 49 IPC_M_CONFIG_SPACE_WRITE_32 50 } pci_dev_iface_funcs_t; 44 extern int pci_config_space_read_8(async_sess_t *, uint32_t, uint8_t *); 45 extern int pci_config_space_read_16(async_sess_t *, uint32_t, uint16_t *); 46 extern int pci_config_space_read_32(async_sess_t *, uint32_t, uint32_t *); 47 48 extern int pci_config_space_write_8(async_sess_t *, uint32_t, uint8_t); 49 extern int pci_config_space_write_16(async_sess_t *, uint32_t, uint16_t); 50 extern int pci_config_space_write_32(async_sess_t *, uint32_t, uint32_t); 51 51 52 52 /** PCI device communication interface. */
Note:
See TracChangeset
for help on using the changeset viewer.