Changeset 3f0a7971 in mainline for uspace/srv/bd/gxe_bd/gxe_bd.c
- Timestamp:
- 2010-11-18T22:34:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63b4f90
- Parents:
- c7137738 (diff), 45f04f8 (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/srv/bd/gxe_bd/gxe_bd.c
rc7137738 r3f0a7971 93 93 static gxe_bd_t *dev; 94 94 95 static dev _handle_t dev_handle[MAX_DISKS];95 static devmap_handle_t devmap_handle[MAX_DISKS]; 96 96 97 97 static fibril_mutex_t dev_lock[MAX_DISKS]; … … 143 143 for (i = 0; i < MAX_DISKS; i++) { 144 144 snprintf(name, 16, "%s/disk%d", NAMESPACE, i); 145 rc = devmap_device_register(name, &dev _handle[i]);145 rc = devmap_device_register(name, &devmap_handle[i]); 146 146 if (rc != EOK) { 147 147 devmap_hangup_phone(DEVMAP_DRIVER); … … 161 161 ipc_call_t call; 162 162 ipcarg_t method; 163 dev _handle_t dh;163 devmap_handle_t dh; 164 164 int flags; 165 165 int retval; … … 174 174 disk_id = -1; 175 175 for (i = 0; i < MAX_DISKS; i++) 176 if (dev _handle[i] == dh)176 if (devmap_handle[i] == dh) 177 177 disk_id = i; 178 178
Note:
See TracChangeset
for help on using the changeset viewer.