Changeset 973ef9fc in mainline for uspace/srv/bd/ata_bd/ata_bd.c


Ignore:
Timestamp:
2010-12-25T21:20:28Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
631ee0c
Parents:
1bfd3d3 (diff), 09178b7f (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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/ata_bd/ata_bd.c

    r1bfd3d3 r973ef9fc  
    113113        printf(NAME ": ATA disk driver\n");
    114114
    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);
    116117
    117118        if (ata_bd_init() != EOK)
     
    181182        }
    182183
    183         printf(" %" PRIu64 " blocks", d->blocks, d->blocks / (2 * 1024));
     184        printf(" %" PRIu64 " blocks", d->blocks);
    184185
    185186        mbytes = d->blocks / (2 * 1024);
     
    228229        ipc_callid_t callid;
    229230        ipc_call_t call;
    230         ipcarg_t method;
     231        sysarg_t method;
    231232        devmap_handle_t dh;
    232233        int flags;
     
    268269        while (1) {
    269270                callid = async_get_call(&call);
    270                 method = IPC_GET_METHOD(call);
     271                method = IPC_GET_IMETHOD(call);
    271272                switch (method) {
    272273                case IPC_M_PHONE_HUNGUP:
Note: See TracChangeset for help on using the changeset viewer.