Changeset 41b70d30 in mainline for uspace/drv/usbhub/usbhub.c


Ignore:
Timestamp:
2011-02-20T23:26:09Z (13 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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/**
Note: See TracChangeset for help on using the changeset viewer.