Changeset 91db50ac in mainline for uspace/lib/usb/hcd.c


Ignore:
Timestamp:
2010-11-19T21:50:46Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7034be15
Parents:
63b4f90
Message:

USB driver to HC communication uses DDF interfaces

Started work on using interfaces on the background of communication
between HC and USB driver. However, for driver developers, this will
be hidden completely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/hcd.c

    r63b4f90 r91db50ac  
    5858#define NAMESPACE "usb"
    5959
    60 
    61 /** String representation of USB transaction outcome. */
    62 const char * usb_str_transaction_outcome(usb_transaction_outcome_t o)
    63 {
    64         switch (o) {
    65                 case USB_OUTCOME_OK:
    66                         return "ok";
    67                 case USB_OUTCOME_CRCERROR:
    68                         return "CRC error";
    69                 case USB_OUTCOME_BABBLE:
    70                         return "babble";
    71                 default:
    72                         return "unknown";
    73         }
    74 }
    7560
    7661/** Create necessary phones for communicating with HCD.
Note: See TracChangeset for help on using the changeset viewer.