Changeset a46e56b in mainline for uspace/drv/char/ns8250
- Timestamp:
- 2018-03-22T06:49:35Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77f0a1d
- Parents:
- 3e242d2
- git-author:
- Jakub Jermar <jakub@…> (2018-03-21 23:29:06)
- git-committer:
- Jakub Jermar <jakub@…> (2018-03-22 06:49:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/ns8250/ns8250.c
r3e242d2 ra46e56b 1068 1068 * Configure the parameters of the serial communication. 1069 1069 */ 1070 static void ns8250_default_handler(chardev_srv_t *srv, cap_call_handle_t c allid,1070 static void ns8250_default_handler(chardev_srv_t *srv, cap_call_handle_t chandle, 1071 1071 ipc_call_t *call) 1072 1072 { … … 1080 1080 ns8250_get_props(ns8250->dev, &baud_rate, &parity, &word_length, 1081 1081 &stop_bits); 1082 async_answer_4(c allid, EOK, baud_rate, parity, word_length,1082 async_answer_4(chandle, EOK, baud_rate, parity, word_length, 1083 1083 stop_bits); 1084 1084 break; … … 1091 1091 ret = ns8250_set_props(ns8250->dev, baud_rate, parity, word_length, 1092 1092 stop_bits); 1093 async_answer_0(c allid, ret);1093 async_answer_0(chandle, ret); 1094 1094 break; 1095 1095 1096 1096 default: 1097 async_answer_0(c allid, ENOTSUP);1098 } 1099 } 1100 1101 void ns8250_char_conn(cap_call_handle_t i id, ipc_call_t *icall, void *arg)1097 async_answer_0(chandle, ENOTSUP); 1098 } 1099 } 1100 1101 void ns8250_char_conn(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg) 1102 1102 { 1103 1103 ns8250_t *ns8250 = fun_ns8250((ddf_fun_t *)arg); 1104 1104 1105 chardev_conn(i id, icall, &ns8250->cds);1105 chardev_conn(icall_handle, icall, &ns8250->cds); 1106 1106 } 1107 1107
Note:
See TracChangeset
for help on using the changeset viewer.