Changeset 92574f4 in mainline for uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
- Timestamp:
- 2011-02-24T12:03:27Z (14 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
r4837092 r92574f4 40 40 #include <libarch/ddi.h> 41 41 #include <devmap.h> 42 #include <ipc/ipc.h>43 42 #include <ipc/char.h> 44 43 #include <async.h> … … 119 118 120 119 /* Answer the IPC_M_CONNECT_ME_TO call. */ 121 ipc_answer_0(iid, EOK);120 async_answer_0(iid, EOK); 122 121 123 122 while (1) { … … 127 126 case IPC_M_PHONE_HUNGUP: 128 127 /* The other side has hung up. */ 129 ipc_answer_0(callid, EOK);128 async_answer_0(callid, EOK); 130 129 return; 131 130 case IPC_M_CONNECT_TO_ME: … … 144 143 break; 145 144 } 146 ipc_answer_0(callid, retval);145 async_answer_0(callid, retval); 147 146 } 148 147 } … … 191 190 async_set_interrupt_received(s3c24xx_uart_irq_handler); 192 191 193 ipc_register_irq(inr, device_assign_devno(), 0, &uart_irq_code);192 register_irq(inr, device_assign_devno(), 0, &uart_irq_code); 194 193 195 194 /* Enable FIFO, Tx trigger level: empty, Rx trigger level: 1 byte. */
Note:
See TracChangeset
for help on using the changeset viewer.