Changeset 41811af in mainline for uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
- Timestamp:
- 2011-06-10T10:14:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ab547063
- Parents:
- 9536e6e (diff), 390d80d (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
r9536e6e r41811af 42 42 #include <ipc/char.h> 43 43 #include <async.h> 44 #include <async_obsolete.h> 44 45 #include <unistd.h> 45 46 #include <stdio.h> … … 48 49 #include <errno.h> 49 50 #include <inttypes.h> 50 51 51 #include "s3c24xx_uart.h" 52 53 // FIXME: remove this header 54 #include <kernel/ipc/ipc_methods.h> 52 55 53 56 #define NAME "s3c24ser" … … 123 126 callid = async_get_call(&call); 124 127 method = IPC_GET_IMETHOD(call); 125 switch (method) {126 case IPC_M_PHONE_HUNGUP:128 129 if (!method) { 127 130 /* The other side has hung up. */ 128 131 async_answer_0(callid, EOK); 129 132 return; 133 } 134 135 switch (method) { 130 136 case IPC_M_CONNECT_TO_ME: 131 137 printf(NAME ": creating callback connection\n"); … … 156 162 157 163 if (uart->client_phone != -1) { 158 async_ msg_1(uart->client_phone, CHAR_NOTIF_BYTE,164 async_obsolete_msg_1(uart->client_phone, CHAR_NOTIF_BYTE, 159 165 data); 160 166 }
Note:
See TracChangeset
for help on using the changeset viewer.