Changeset 8b5690f in mainline for uspace/drv/ns8250/ns8250.c


Ignore:
Timestamp:
2011-02-03T05:11:01Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ns8250/ns8250.c

    r22027b6e r8b5690f  
    256256       
    257257        if (dev->parent_phone > 0) {
    258                 ipc_hangup(dev->parent_phone);
     258                async_hangup(dev->parent_phone);
    259259                dev->parent_phone = 0;
    260260        }
     
    431431{
    432432        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;
    439433       
    440434        /* Enable interrupt on the serial port. */
     
    894888                ns8250_get_props(dev, &baud_rate, &parity, &word_length,
    895889                    &stop_bits);
    896                 ipc_answer_4(callid, EOK, baud_rate, parity, word_length,
     890                async_answer_4(callid, EOK, baud_rate, parity, word_length,
    897891                    stop_bits);
    898892                break;
     
    905899                ret = ns8250_set_props(dev, baud_rate, parity, word_length,
    906900                    stop_bits);
    907                 ipc_answer_0(callid, ret);
     901                async_answer_0(callid, ret);
    908902                break;
    909903               
    910904        default:
    911                 ipc_answer_0(callid, ENOTSUP);
     905                async_answer_0(callid, ENOTSUP);
    912906        }
    913907}
Note: See TracChangeset for help on using the changeset viewer.