Changes in uspace/drv/ns8250/ns8250.c [41b56084:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ns8250/ns8250.c
r41b56084 rffa2c8ef 256 256 257 257 if (dev->parent_phone > 0) { 258 ipc_hangup(dev->parent_phone);258 async_hangup(dev->parent_phone); 259 259 dev->parent_phone = 0; 260 260 } … … 431 431 { 432 432 ns8250_dev_data_t *data = (ns8250_dev_data_t *) dev->driver_data; 433 int res;434 435 /* Enable interrupt globally. */436 res = interrupt_enable(data->irq);437 if (res != EOK)438 return res;439 433 440 434 /* Enable interrupt on the serial port. */ … … 894 888 ns8250_get_props(dev, &baud_rate, &parity, &word_length, 895 889 &stop_bits); 896 ipc_answer_4(callid, EOK, baud_rate, parity, word_length,890 async_answer_4(callid, EOK, baud_rate, parity, word_length, 897 891 stop_bits); 898 892 break; … … 905 899 ret = ns8250_set_props(dev, baud_rate, parity, word_length, 906 900 stop_bits); 907 ipc_answer_0(callid, ret);901 async_answer_0(callid, ret); 908 902 break; 909 903 910 904 default: 911 ipc_answer_0(callid, ENOTSUP);905 async_answer_0(callid, ENOTSUP); 912 906 } 913 907 }
Note:
See TracChangeset
for help on using the changeset viewer.