Changeset 41b70d30 in mainline for uspace/drv/usbhub


Ignore:
Timestamp:
2011-02-20T23:26:09Z (15 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b317b0b, dbe25f1
Parents:
d37b235 (diff), 0f21c0c (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:

Removal of old "phones" API from libusb

No public function from libusb uses IPC phones directly.

Location:
uspace/drv/usbhub
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/main.c

    rd37b235 r41b70d30  
    3434#include <errno.h>
    3535#include <async.h>
    36 
    37 #include <usb/usbdrv.h>
    38 
    3936
    4037#include "usbhub.h"
  • uspace/drv/usbhub/port_status.h

    rd37b235 r41b70d30  
    3535#include <bool.h>
    3636#include <sys/types.h>
    37 #include <usb/devreq.h>
     37#include <usb/request.h>
    3838#include "usbhub_private.h"
    3939
  • uspace/drv/usbhub/usbhub.c

    rd37b235 r41b70d30  
    4040#include <usb_iface.h>
    4141#include <usb/ddfiface.h>
    42 #include <usb/usbdrv.h>
    4342#include <usb/descriptor.h>
    4443#include <usb/recognise.h>
    45 #include <usb/devreq.h>
    4644#include <usb/request.h>
    4745#include <usb/classes/hub.h>
     
    230228//
    231229//*********************************************
    232 
    233 /**
    234  * Convenience function for releasing default address and writing debug info
    235  * (these few lines are used too often to be written again and again).
    236  * @param hc
    237  * @return
    238  */
    239 inline static int usb_hub_release_default_address(int hc){
    240         int opResult;
    241         dprintf(USB_LOG_LEVEL_INFO, "releasing default address");
    242         opResult = usb_drv_release_default_address(hc);
    243         if (opResult != EOK) {
    244                 dprintf(USB_LOG_LEVEL_WARNING, "failed to release default address");
    245         }
    246         return opResult;
    247 }
    248230
    249231/**
  • uspace/drv/usbhub/usbhub.h

    rd37b235 r41b70d30  
    4242#define NAME "usbhub"
    4343
    44 //#include "usb/hcdhubd.h"
    45 #include <usb/usbdrv.h>
    4644#include <usb/hub.h>
    4745
  • uspace/drv/usbhub/usbhub_private.h

    rd37b235 r41b70d30  
    4747#include <usb/classes/hub.h>
    4848#include <usb/usb.h>
    49 #include <usb/usbdrv.h>
    50 
    51 //#include <usb/devreq.h>
    5249#include <usb/debug.h>
     50#include <usb/request.h>
    5351
    5452//************
  • uspace/drv/usbhub/utils.c

    rd37b235 r41b70d30  
    3838
    3939#include <usbhc_iface.h>
    40 #include <usb/usbdrv.h>
    4140#include <usb/descriptor.h>
    42 #include <usb/devreq.h>
    4341#include <usb/classes/hub.h>
    4442
Note: See TracChangeset for help on using the changeset viewer.