Changes in uspace/srv/net/nil/eth/eth.c [228e490:46d4d9f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/eth/eth.c
r228e490 r46d4d9f 238 238 239 239 while (true) { 240 switch (IPC_GET_ IMETHOD(*icall)) {240 switch (IPC_GET_METHOD(*icall)) { 241 241 case NET_NIL_DEVICE_STATE: 242 242 nil_device_state_msg_local(0, IPC_GET_DEVICE(icall), … … 251 251 IPC_GET_DEVICE(icall), packet, 0); 252 252 } 253 ipc_answer_0(iid, ( sysarg_t) rc);253 ipc_answer_0(iid, (ipcarg_t) rc); 254 254 break; 255 255 default: 256 ipc_answer_0(iid, ( sysarg_t) ENOTSUP);256 ipc_answer_0(iid, (ipcarg_t) ENOTSUP); 257 257 } 258 258 … … 315 315 device->mtu = ETH_MAX_TAGGED_CONTENT(device->flags); 316 316 317 printf("Device %d already exists:\tMTU\t= % zu\n",317 printf("Device %d already exists:\tMTU\t= %d\n", 318 318 device->device_id, device->mtu); 319 319 fibril_rwlock_write_unlock(ð_globals.devices_lock); … … 407 407 } 408 408 409 printf("%s: Device registered (id: %d, service: %d: mtu: % zu, "409 printf("%s: Device registered (id: %d, service: %d: mtu: %d, " 410 410 "mac: %x:%x:%x:%x:%x:%x, flags: 0x%x)\n", 411 411 NAME, device->device_id, device->service, device->mtu, … … 849 849 850 850 *answer_count = 0; 851 switch (IPC_GET_ IMETHOD(*call)) {851 switch (IPC_GET_METHOD(*call)) { 852 852 case IPC_M_PHONE_HUNGUP: 853 853 return EOK; … … 926 926 * result. 927 927 */ 928 if ((IPC_GET_ IMETHOD(call) == IPC_M_PHONE_HUNGUP) ||928 if ((IPC_GET_METHOD(call) == IPC_M_PHONE_HUNGUP) || 929 929 (res == EHANGUP)) 930 930 return;
Note:
See TracChangeset
for help on using the changeset viewer.