Changeset a33f0a6 in mainline for uspace/lib/net/nil/nil_remote.c
- Timestamp:
- 2011-08-03T17:34:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1940326
- Parents:
- 52a79081 (diff), 3fab770 (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/lib/net/nil/nil_remote.c
r52a79081 ra33f0a6 45 45 /** Notify the network interface layer about the device state change. 46 46 * 47 * @param[in] nil_phone Network interface layer phone.47 * @param[in] sess Network interface layer session. 48 48 * @param[in] device_id Device identifier. 49 49 * @param[in] state New device state. … … 54 54 * 55 55 */ 56 int nil_device_state_msg(int nil_phone, device_id_t device_id, int state) 56 int nil_device_state_msg(async_sess_t *sess, device_id_t device_id, 57 sysarg_t state) 57 58 { 58 return generic_device_state_msg_remote( nil_phone, NET_NIL_DEVICE_STATE,59 return generic_device_state_msg_remote(sess, NET_NIL_DEVICE_STATE, 59 60 device_id, state, 0); 60 61 } … … 65 66 * upper layers. 66 67 * 67 * @param[in] nil_phone Network interface layer phone.68 * @param[in] sess Network interface layer session. 68 69 * @param[in] device_id Source device identifier. 69 70 * @param[in] packet Received packet or the received packet queue. … … 75 76 * 76 77 */ 77 int nil_received_msg( int nil_phone, device_id_t device_id,78 int nil_received_msg(async_sess_t *sess, device_id_t device_id, 78 79 packet_t *packet, services_t target) 79 80 { 80 return generic_received_msg_remote( nil_phone, NET_NIL_RECEIVED,81 return generic_received_msg_remote(sess, NET_NIL_RECEIVED, 81 82 device_id, packet_get_id(packet), target, 0); 82 83 }
Note:
See TracChangeset
for help on using the changeset viewer.