Changeset 8b5690f in mainline for uspace/drv/ns8250/ns8250.c
- Timestamp:
- 2011-02-03T05:11:01Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba38f72c
- Parents:
- 22027b6e (diff), 86d7bfa (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/drv/ns8250/ns8250.c
r22027b6e r8b5690f 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.