Changeset 7bdcc45 in mainline for uspace/srv/bd/ata_bd/ata_bd.c
- Timestamp:
- 2010-12-16T16:38:49Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7837101
- Parents:
- 8e58f94 (diff), eb221e5 (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
r8e58f94 r7bdcc45 113 113 printf(NAME ": ATA disk driver\n"); 114 114 115 printf("I/O address %p/%p\n", ctl_physical, cmd_physical); 115 printf("I/O address %p/%p\n", (void *) ctl_physical, 116 (void *) cmd_physical); 116 117 117 118 if (ata_bd_init() != EOK) … … 181 182 } 182 183 183 printf(" %" PRIu64 " blocks", d->blocks , d->blocks / (2 * 1024));184 printf(" %" PRIu64 " blocks", d->blocks); 184 185 185 186 mbytes = d->blocks / (2 * 1024); … … 228 229 ipc_callid_t callid; 229 230 ipc_call_t call; 230 ipcarg_t method;231 sysarg_t method; 231 232 devmap_handle_t dh; 232 233 int flags; … … 268 269 while (1) { 269 270 callid = async_get_call(&call); 270 method = IPC_GET_ METHOD(call);271 method = IPC_GET_IMETHOD(call); 271 272 switch (method) { 272 273 case IPC_M_PHONE_HUNGUP:
Note:
See TracChangeset
for help on using the changeset viewer.