Changes in / [1eb272d:ee0d8a8] in mainline


Ignore:
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.common

    r1eb272d ree0d8a8  
    113113        rootvirt \
    114114        test1 \
    115         test2
     115        test2 \
     116        vhc
    116117
    117118RD_DRV_CFG =
  • boot/arch/amd64/Makefile.inc

    r1eb272d ree0d8a8  
    4343        uhci \
    4444        usbhub \
    45         usbkbd \
    46         vhc
     45        usbkbd
    4746       
    4847RD_DRV_CFG += \
  • uspace/Makefile

    r1eb272d ree0d8a8  
    9090        drv/rootvirt \
    9191        drv/test1 \
    92         drv/test2
     92        drv/test2 \
     93        drv/vhc
    9394
    9495## Networking
     
    117118        DIRS += drv/isa
    118119        DIRS += drv/ns8250
    119         DIRS += drv/uhci
    120         DIRS += drv/usbhub
    121         DIRS += drv/usbkbd
    122         DIRS += drv/vhc
    123120endif
    124121
     
    131128        DIRS += drv/usbhub
    132129        DIRS += drv/usbkbd
    133         DIRS += drv/vhc
    134130endif
    135131
  • uspace/drv/uhci/transfers.c

    r1eb272d ree0d8a8  
    3636    usbhc_iface_transfer_out_callback_t callback, void *arg)
    3737{
    38         printf(NAME ": transfer OUT [%d.%d (%s); %zu]\n",
     38        printf(NAME ": transfer OUT [%d.%d (%s); %u]\n",
    3939            target.address, target.endpoint,
    4040            usb_str_transfer_type(transfer_type),
     
    4949    usbhc_iface_transfer_out_callback_t callback, void *arg)
    5050{
    51         printf(NAME ": transfer SETUP [%d.%d (%s); %zu]\n",
     51        printf(NAME ": transfer SETUP [%d.%d (%s); %u]\n",
    5252            target.address, target.endpoint,
    5353            usb_str_transfer_type(transfer_type),
     
    6262    usbhc_iface_transfer_in_callback_t callback, void *arg)
    6363{
    64         printf(NAME ": transfer IN [%d.%d (%s); %zu]\n",
     64        printf(NAME ": transfer IN [%d.%d (%s); %u]\n",
    6565            target.address, target.endpoint,
    6666            usb_str_transfer_type(transfer_type),
  • uspace/lib/usb/src/usbdrv.c

    r1eb272d ree0d8a8  
    3636#include <usbhc_iface.h>
    3737#include <errno.h>
    38 #include <str_error.h>
    3938
    4039/** Information about pending transaction on HC. */
     
    9190{
    9291        ipcarg_t address;
    93         int rc = async_req_2_1(phone, DEV_IFACE_ID(USBHC_DEV_IFACE),
    94             IPC_M_USBHC_GET_ADDRESS,
     92        int rc = async_req_1_1(phone, IPC_M_USBHC_GET_ADDRESS,
    9593            dev->handle, &address);
    9694
    9795        if (rc != EOK) {
    98                 printf("usb_drv_get_my_address over %d failed: %s\n", phone, str_error(rc));
    9996                return rc;
    10097        }
     
    110107int usb_drv_reserve_default_address(int phone)
    111108{
    112         return async_req_1_0(phone, DEV_IFACE_ID(USBHC_DEV_IFACE),
    113             IPC_M_USBHC_RESERVE_DEFAULT_ADDRESS);
     109        return async_req_0_0(phone, IPC_M_USBHC_RESERVE_DEFAULT_ADDRESS);
    114110}
    115111
     
    121117int usb_drv_release_default_address(int phone)
    122118{
    123         return async_req_1_0(phone, DEV_IFACE_ID(USBHC_DEV_IFACE),
    124             IPC_M_USBHC_RELEASE_DEFAULT_ADDRESS);
     119        return async_req_0_0(phone, IPC_M_USBHC_RELEASE_DEFAULT_ADDRESS);
    125120}
    126121
     
    133128{
    134129        ipcarg_t address;
    135         int rc = async_req_1_1(phone, DEV_IFACE_ID(USBHC_DEV_IFACE),
    136             IPC_M_USBHC_REQUEST_ADDRESS, &address);
     130        int rc = async_req_0_1(phone, IPC_M_USBHC_REQUEST_ADDRESS, &address);
    137131        if (rc != EOK) {
    138132                return rc;
     
    152146    devman_handle_t handle)
    153147{
    154         int rc = async_req_3_0(phone, DEV_IFACE_ID(USBHC_DEV_IFACE),
    155             IPC_M_USBHC_BIND_ADDRESS,
     148        int rc = async_req_2_0(phone, IPC_M_USBHC_BIND_ADDRESS,
    156149            address, handle);
    157150
     
    167160int usb_drv_release_address(int phone, usb_address_t address)
    168161{
    169         return async_req_2_0(phone, DEV_IFACE_ID(USBHC_DEV_IFACE),
    170             IPC_M_USBHC_RELEASE_ADDRESS, address);
     162        return async_req_1_0(phone, IPC_M_USBHC_RELEASE_ADDRESS, address);
    171163}
    172164
Note: See TracChangeset for help on using the changeset viewer.