Changeset 92574f4 in mainline for uspace/srv/hw/irc/fhc/fhc.c


Ignore:
Timestamp:
2011-02-24T12:03:27Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e7b7ebd5
Parents:
4837092 (diff), a80849c (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:

Merged development (changes in DDF, etc.).

Conflicts in uspace/drv/usbkbd/main.c

File:
1 edited

Legend:

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

    r4837092 r92574f4  
    2929/** @addtogroup fhc
    3030 * @{
    31  */ 
     31 */
    3232
    3333/**
    34  * @file        fhc.c
    35  * @brief       FHC bus controller driver.
     34 * @file fhc.c
     35 * @brief FHC bus controller driver.
    3636 */
    3737
    38 #include <ipc/ipc.h>
    3938#include <ipc/services.h>
    4039#include <ipc/irc.h>
     
    7675         * Answer the first IPC_M_CONNECT_ME_TO call.
    7776         */
    78         ipc_answer_0(iid, EOK);
     77        async_answer_0(iid, EOK);
    7978
    8079        while (1) {
     
    8584                case IRC_ENABLE_INTERRUPT:
    8685                        /* Noop */
    87                         ipc_answer_0(callid, EOK);
     86                        async_answer_0(callid, EOK);
    8887                        break;
    8988                case IRC_CLEAR_INTERRUPT:
     
    9291                        case FHC_UART_INR:
    9392                                fhc_uart_virt[FHC_UART_ICLR] = 0;
    94                                 ipc_answer_0(callid, EOK);
     93                                async_answer_0(callid, EOK);
    9594                                break;
    9695                        default:
    97                                 ipc_answer_0(callid, ENOTSUP);
     96                                async_answer_0(callid, ENOTSUP);
    9897                                break;
    9998                        }
    10099                        break;
    101100                default:
    102                         ipc_answer_0(callid, EINVAL);
     101                        async_answer_0(callid, EINVAL);
    103102                        break;
    104103                }
     
    137136       
    138137        async_set_client_connection(fhc_connection);
    139         ipc_connect_to_me(PHONE_NS, SERVICE_FHC, 0, 0, NULL, NULL);
     138        service_register(SERVICE_FHC);
    140139       
    141140        return true;
Note: See TracChangeset for help on using the changeset viewer.