Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/irc/obio/obio.c

    rffa2c8ef r124c061  
    2727 */
    2828
    29 /** @addtogroup obio
     29/** @addtogroup obio 
    3030 * @{
    31  */
     31 */ 
    3232
    3333/**
    34  * @file obio.c
    35  * @brief OBIO driver.
     34 * @file        obio.c
     35 * @brief       OBIO driver.
    3636 *
    3737 * OBIO is a short for on-board I/O. On UltraSPARC IIi and systems with U2P,
     
    4242 */
    4343
     44#include <ipc/ipc.h>
    4445#include <ipc/services.h>
    4546#include <ipc/irc.h>
     
    8586         * Answer the first IPC_M_CONNECT_ME_TO call.
    8687         */
    87         async_answer_0(iid, EOK);
     88        ipc_answer_0(iid, EOK);
    8889
    8990        while (1) {
     
    9495                case IRC_ENABLE_INTERRUPT:
    9596                        /* Noop */
    96                         async_answer_0(callid, EOK);
     97                        ipc_answer_0(callid, EOK);
    9798                        break;
    9899                case IRC_CLEAR_INTERRUPT:
    99100                        inr = IPC_GET_ARG1(call);
    100101                        base_virt[OBIO_CIR(inr & INO_MASK)] = 0;
    101                         async_answer_0(callid, EOK);
     102                        ipc_answer_0(callid, EOK);
    102103                        break;
    103104                default:
    104                         async_answer_0(callid, EINVAL);
     105                        ipc_answer_0(callid, EINVAL);
    105106                        break;
    106107                }
     
    137138       
    138139        async_set_client_connection(obio_connection);
    139         service_register(SERVICE_OBIO);
     140        ipc_connect_to_me(PHONE_NS, SERVICE_OBIO, 0, 0, NULL, NULL);
    140141       
    141142        return true;
Note: See TracChangeset for help on using the changeset viewer.