Changeset 87b4baac in mainline for uspace/srv/hw
- Timestamp:
- 2010-12-17T20:16:46Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 424558a
- Parents:
- 463e734 (diff), bbc74af7 (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. - Location:
- uspace/srv/hw
- Files:
-
- 6 edited
-
bus/cuda_adb/cuda_adb.c (modified) (2 diffs)
-
char/i8042/i8042.c (modified) (2 diffs)
-
char/s3c24xx_uart/s3c24xx_uart.c (modified) (2 diffs)
-
cir/fhc/fhc.c (modified) (2 diffs)
-
cir/obio/obio.c (modified) (2 diffs)
-
netif/dp8390/dp8390_module.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/bus/cuda_adb/cuda_adb.c
r463e734 r87b4baac 195 195 ipc_callid_t callid; 196 196 ipc_call_t call; 197 ipcarg_t method;197 sysarg_t method; 198 198 devmap_handle_t dh; 199 199 int retval; … … 220 220 while (1) { 221 221 callid = async_get_call(&call); 222 method = IPC_GET_ METHOD(call);222 method = IPC_GET_IMETHOD(call); 223 223 switch (method) { 224 224 case IPC_M_PHONE_HUNGUP: -
uspace/srv/hw/char/i8042/i8042.c
r463e734 r87b4baac 219 219 ipc_callid_t callid; 220 220 ipc_call_t call; 221 ipcarg_t method;221 sysarg_t method; 222 222 devmap_handle_t dh; 223 223 int retval; … … 248 248 while (1) { 249 249 callid = async_get_call(&call); 250 method = IPC_GET_ METHOD(call);250 method = IPC_GET_IMETHOD(call); 251 251 switch (method) { 252 252 case IPC_M_PHONE_HUNGUP: -
uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
r463e734 r87b4baac 116 116 ipc_callid_t callid; 117 117 ipc_call_t call; 118 ipcarg_t method;118 sysarg_t method; 119 119 int retval; 120 120 … … 124 124 while (1) { 125 125 callid = async_get_call(&call); 126 method = IPC_GET_ METHOD(call);126 method = IPC_GET_IMETHOD(call); 127 127 switch (method) { 128 128 case IPC_M_PHONE_HUNGUP: -
uspace/srv/hw/cir/fhc/fhc.c
r463e734 r87b4baac 82 82 83 83 callid = async_get_call(&call); 84 switch (IPC_GET_ METHOD(call)) {84 switch (IPC_GET_IMETHOD(call)) { 85 85 case BUS_CLEAR_INTERRUPT: 86 86 inr = IPC_GET_ARG1(call); … … 133 133 134 134 async_set_client_connection(fhc_connection); 135 ipcarg_t phonead;135 sysarg_t phonead; 136 136 ipc_connect_to_me(PHONE_NS, SERVICE_FHC, 0, 0, &phonead); 137 137 -
uspace/srv/hw/cir/obio/obio.c
r463e734 r87b4baac 92 92 93 93 callid = async_get_call(&call); 94 switch (IPC_GET_ METHOD(call)) {94 switch (IPC_GET_IMETHOD(call)) { 95 95 case BUS_CLEAR_INTERRUPT: 96 96 inr = IPC_GET_ARG1(call); … … 134 134 135 135 async_set_client_connection(obio_connection); 136 ipcarg_t phonead;136 sysarg_t phonead; 137 137 ipc_connect_to_me(PHONE_NS, SERVICE_OBIO, 0, 0, &phonead); 138 138 -
uspace/srv/hw/netif/dp8390/dp8390_module.c
r463e734 r87b4baac 63 63 * @param[in] call The interrupt call. 64 64 */ 65 #define IRQ_GET_DEVICE(call) (device_id_t) IPC_GET_ METHOD(*call)65 #define IRQ_GET_DEVICE(call) (device_id_t) IPC_GET_IMETHOD(*call) 66 66 67 67 /** Returns the interrupt status register from the interrupt call. … … 197 197 return rc; 198 198 address->value = (char *) (&((dpeth_t *) device->specific)->de_address); 199 address->length = CONVERT_SIZE(ether_addr_t, char, 1);199 address->length = sizeof(ether_addr_t); 200 200 return EOK; 201 201 } … … 306 306 307 307 int netif_initialize(void){ 308 ipcarg_t phonehash;308 sysarg_t phonehash; 309 309 310 310 async_set_interrupt_received(irq_handler); 311 311 312 return REGISTER_ME(SERVICE_DP8390, &phonehash);312 return ipc_connect_to_me(PHONE_NS, SERVICE_DP8390, 0, 0, &phonehash); 313 313 } 314 314 … … 343 343 344 344 /* End if said to either by the message or the processing result */ 345 if ((IPC_GET_ METHOD(call) == IPC_M_PHONE_HUNGUP) || (res == EHANGUP))345 if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) || (res == EHANGUP)) 346 346 return; 347 347
Note:
See TracChangeset
for help on using the changeset viewer.
