Changeset 9be30cdf in mainline for uspace/lib/drv/generic/remote_pci.c
- Timestamp:
- 2013-12-31T02:50:45Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c1ee46f
- Parents:
- 208b5f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_pci.c
r208b5f5 r9be30cdf 36 36 #include <async.h> 37 37 #include <errno.h> 38 #include <macros.h> 38 39 39 40 #include "pci_dev_iface.h" … … 49 50 50 51 /** Remote USB interface operations. */ 51 static remote_iface_func_ptr_t remote_pci_iface_ops [] = {52 static const remote_iface_func_ptr_t remote_pci_iface_ops [] = { 52 53 remote_config_space_read_8, 53 54 remote_config_space_read_16, … … 62 63 */ 63 64 remote_iface_t remote_pci_iface = { 64 .method_count = sizeof(remote_pci_iface_ops) / 65 sizeof(remote_pci_iface_ops[0]), 65 .method_count = ARRAY_SIZE(remote_pci_iface_ops), 66 66 .methods = remote_pci_iface_ops 67 67 };
Note:
See TracChangeset
for help on using the changeset viewer.