Ignore:
Timestamp:
2011-03-30T13:10:24Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4ae90f9
Parents:
6e50466 (diff), d6b81941 (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

    r6e50466 rad7a6c9  
    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.