Ignore:
Timestamp:
2011-02-03T05:11:01Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba38f72c
Parents:
22027b6e (diff), 86d7bfa (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/hw/char/s3c24xx_uart/s3c24xx_uart.c

    r22027b6e r8b5690f  
    4040#include <libarch/ddi.h>
    4141#include <devmap.h>
    42 #include <ipc/ipc.h>
    4342#include <ipc/char.h>
    4443#include <async.h>
     
    9594        rc = devmap_device_register(NAMESPACE "/" NAME, &uart->devmap_handle);
    9695        if (rc != EOK) {
    97                 devmap_hangup_phone(DEVMAP_DRIVER);
    9896                printf(NAME ": Unable to register device %s.\n",
    9997                    NAMESPACE "/" NAME);
     
    120118
    121119        /* Answer the IPC_M_CONNECT_ME_TO call. */
    122         ipc_answer_0(iid, EOK);
     120        async_answer_0(iid, EOK);
    123121
    124122        while (1) {
     
    128126                case IPC_M_PHONE_HUNGUP:
    129127                        /* The other side has hung up. */
    130                         ipc_answer_0(callid, EOK);
     128                        async_answer_0(callid, EOK);
    131129                        return;
    132130                case IPC_M_CONNECT_TO_ME:
     
    145143                        break;
    146144                }
    147                 ipc_answer_0(callid, retval);
     145                async_answer_0(callid, retval);
    148146        }
    149147}
     
    192190        async_set_interrupt_received(s3c24xx_uart_irq_handler);
    193191
    194         ipc_register_irq(inr, device_assign_devno(), 0, &uart_irq_code);
     192        register_irq(inr, device_assign_devno(), 0, &uart_irq_code);
    195193
    196194        /* Enable FIFO, Tx trigger level: empty, Rx trigger level: 1 byte. */
Note: See TracChangeset for help on using the changeset viewer.