Changeset 9be30cdf in mainline for uspace/lib/drv/generic/remote_ahci.c
- Timestamp:
- 2013-12-31T02:50:45Z (10 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_ahci.c
r208b5f5 r9be30cdf 36 36 #include <errno.h> 37 37 #include <stdio.h> 38 #include <macros.h> 38 39 #include "ahci_iface.h" 39 40 #include "ddf/driver.h" … … 65 66 66 67 /** Remote AHCI interface operations. */ 67 static remote_iface_func_ptr_t remote_ahci_iface_ops [] = {68 static const remote_iface_func_ptr_t remote_ahci_iface_ops [] = { 68 69 [IPC_M_AHCI_GET_SATA_DEVICE_NAME] = remote_ahci_get_sata_device_name, 69 70 [IPC_M_AHCI_GET_NUM_BLOCKS] = remote_ahci_get_num_blocks, … … 76 77 */ 77 78 remote_iface_t remote_ahci_iface = { 78 .method_count = sizeof(remote_ahci_iface_ops) / 79 sizeof(remote_ahci_iface_ops[0]), 79 .method_count = ARRAY_SIZE(remote_ahci_iface_ops), 80 80 .methods = remote_ahci_iface_ops 81 81 };
Note:
See TracChangeset
for help on using the changeset viewer.