Changeset 474afc9 in mainline for uspace/drv


Ignore:
Timestamp:
2011-02-04T22:40:13Z (15 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4d73d71
Parents:
89acf204 (diff), e29e09cf (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:

development branch changes

Location:
uspace/drv
Files:
10 edited

Legend:

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

    r89acf204 r474afc9  
    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        }
     
    888888                ns8250_get_props(dev, &baud_rate, &parity, &word_length,
    889889                    &stop_bits);
    890                 ipc_answer_4(callid, EOK, baud_rate, parity, word_length,
     890                async_answer_4(callid, EOK, baud_rate, parity, word_length,
    891891                    stop_bits);
    892892                break;
     
    899899                ret = ns8250_set_props(dev, baud_rate, parity, word_length,
    900900                    stop_bits);
    901                 ipc_answer_0(callid, ret);
     901                async_answer_0(callid, ret);
    902902                break;
    903903               
    904904        default:
    905                 ipc_answer_0(callid, ENOTSUP);
     905                async_answer_0(callid, ENOTSUP);
    906906        }
    907907}
  • uspace/drv/pciintel/pci.c

    r89acf204 r474afc9  
    478478                    "the device.\n");
    479479                delete_pci_bus_data(bus_data);
    480                 ipc_hangup(dev->parent_phone);
     480                async_hangup(dev->parent_phone);
    481481                return rc;
    482482        }       
     
    496496                printf(NAME ": failed to enable configuration ports.\n");
    497497                delete_pci_bus_data(bus_data);
    498                 ipc_hangup(dev->parent_phone);
     498                async_hangup(dev->parent_phone);
    499499                hw_res_clean_resource_list(&hw_resources);
    500500                return EADDRNOTAVAIL;
  • uspace/drv/test2/test2.c

    r89acf204 r474afc9  
    103103        if (dev->parent == NULL) {
    104104                fid_t postpone = fibril_create(postponed_birth, dev);
     105                if (postpone == 0) {
     106                        printf(NAME ": fibril_create() error\n");
     107                        return ENOMEM;
     108                }
    105109                fibril_add_ready(postpone);
    106110        } else {
  • uspace/drv/uhci-hcd/pci.c

    r89acf204 r474afc9  
    117117        rc = EOK;
    118118leave:
    119         ipc_hangup(parent_phone);
     119        async_hangup(parent_phone);
    120120
    121121        return rc;
  • uspace/drv/usbhid/main.c

    r89acf204 r474afc9  
    8383
    8484                if (console_callback_phone != -1) {
    85                         ipc_answer_0(icallid, ELIMIT);
     85                        async_answer_0(icallid, ELIMIT);
    8686                        return;
    8787                }
    8888
    8989                console_callback_phone = callback;
    90                 ipc_answer_0(icallid, EOK);
     90                async_answer_0(icallid, EOK);
    9191                return;
    9292        }
    9393
    94         ipc_answer_0(icallid, EINVAL);
     94        async_answer_0(icallid, EINVAL);
    9595}
    9696
  • uspace/drv/usbhub/usbhub.c

    r89acf204 r474afc9  
    199199        //ports powered, hub seems to be enabled
    200200
    201         ipc_hangup(hc);
     201        async_hangup(hc);
    202202
    203203        //add the hub to list
     
    502502                free(change_bitmap);
    503503
    504                 ipc_hangup(hc);
     504                async_hangup(hc);
    505505                fibril_mutex_lock(&usb_hub_list_lock);
    506506        }
  • uspace/drv/vhc/conndev.c

    r89acf204 r474afc9  
    9090                    = virtdev_add_device(callback, (sysarg_t)fibril_get_id());
    9191                if (!dev) {
    92                         ipc_answer_0(icallid, EEXISTS);
    93                         ipc_hangup(callback);
     92                        async_answer_0(icallid, EEXISTS);
     93                        async_hangup(callback);
    9494                        return;
    9595                }
    96                 ipc_answer_0(icallid, EOK);
     96                async_answer_0(icallid, EOK);
    9797
    9898                char devname[DEVICE_NAME_MAXLENGTH + 1];
     
    105105        }
    106106
    107         ipc_answer_0(icallid, EINVAL);
     107        async_answer_0(icallid, EINVAL);
    108108}
    109109
  • uspace/drv/vhc/devices.c

    r89acf204 r474afc9  
    3434 */
    3535
    36 #include <ipc/ipc.h>
    3736#include <adt/list.h>
    3837#include <bool.h>
  • uspace/drv/vhc/hc.c

    r89acf204 r474afc9  
    3434 */
    3535
    36 #include <ipc/ipc.h>
    3736#include <adt/list.h>
    3837#include <bool.h>
  • uspace/drv/vhc/hcd.c

    r89acf204 r474afc9  
    3535
    3636#include <devmap.h>
    37 #include <ipc/ipc.h>
    3837#include <async.h>
    3938#include <unistd.h>
Note: See TracChangeset for help on using the changeset viewer.