Changeset ea28272 in mainline for uspace/srv/net/nil/eth/eth.c
- Timestamp:
- 2010-12-30T13:43:27Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d770deb
- Parents:
- d70d80ed (diff), f418e51 (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/net/nil/eth/eth.c
rd70d80ed rea28272 201 201 202 202 eth_globals.broadcast_addr = 203 measured_string_create_bulk("\xFF\xFF\xFF\xFF\xFF\xFF", 204 CONVERT_SIZE(uint8_t, char, ETH_ADDR)); 203 measured_string_create_bulk("\xFF\xFF\xFF\xFF\xFF\xFF", ETH_ADDR); 205 204 if (!eth_globals.broadcast_addr) { 206 205 rc = ENOMEM; … … 238 237 239 238 while (true) { 240 switch (IPC_GET_ METHOD(*icall)) {239 switch (IPC_GET_IMETHOD(*icall)) { 241 240 case NET_NIL_DEVICE_STATE: 242 241 nil_device_state_msg_local(0, IPC_GET_DEVICE(icall), … … 251 250 IPC_GET_DEVICE(icall), packet, 0); 252 251 } 253 ipc_answer_0(iid, ( ipcarg_t) rc);252 ipc_answer_0(iid, (sysarg_t) rc); 254 253 break; 255 254 default: 256 ipc_answer_0(iid, ( ipcarg_t) ENOTSUP);255 ipc_answer_0(iid, (sysarg_t) ENOTSUP); 257 256 } 258 257 … … 849 848 850 849 *answer_count = 0; 851 switch (IPC_GET_ METHOD(*call)) {850 switch (IPC_GET_IMETHOD(*call)) { 852 851 case IPC_M_PHONE_HUNGUP: 853 852 return EOK; … … 926 925 * result. 927 926 */ 928 if ((IPC_GET_ METHOD(call) == IPC_M_PHONE_HUNGUP) ||927 if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) || 929 928 (res == EHANGUP)) 930 929 return;
Note:
See TracChangeset
for help on using the changeset viewer.