Changeset 87b4baa in mainline for uspace/srv/hw/netif/dp8390/dp8390_module.c
- Timestamp:
- 2010-12-17T20:16:46Z (14 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390_module.c
r463e734 r87b4baa 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.