Changeset fdbc3ff in mainline for uspace/srv/bd/ata_bd/ata_bd.c
- Timestamp:
- 2010-11-19T23:50:06Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46d4d9f
- Parents:
- b4c9c61 (diff), a9c6b966 (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/ata_bd/ata_bd.c
rb4c9c61 rfdbc3ff 139 139 140 140 snprintf(name, 16, "%s/disk%d", NAMESPACE, i); 141 rc = devmap_device_register(name, &disk[i].dev _handle);141 rc = devmap_device_register(name, &disk[i].devmap_handle); 142 142 if (rc != EOK) { 143 143 devmap_hangup_phone(DEVMAP_DRIVER); … … 229 229 ipc_call_t call; 230 230 ipcarg_t method; 231 dev _handle_t dh;231 devmap_handle_t dh; 232 232 int flags; 233 233 int retval; … … 242 242 disk_id = -1; 243 243 for (i = 0; i < MAX_DISKS; i++) 244 if (disk[i].dev _handle == dh)244 if (disk[i].devmap_handle == dh) 245 245 disk_id = i; 246 246
Note:
See TracChangeset
for help on using the changeset viewer.