Changeset 09ace19 in mainline for uspace/drv/bus/usb/ohci/hc.h


Ignore:
Timestamp:
2011-08-25T15:33:41Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f974519
Parents:
cc34f5f0
Message:

ohci: remove unused code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/hc.h

    rcc34f5f0 r09ace19  
    5353/** Main OHCI driver structure */
    5454typedef struct hc {
    55         /** USB bus driver, devices and addresses */
    56         usb_device_keeper_t manager;
    57         /** USB bus driver, endpoints */
    58         usb_endpoint_manager_t ep_manager;
    59 
    6055        /** Generic USB hc driver */
    6156        hcd_t generic;
     
    9186 * @param[in] instance Host controller structure to use.
    9287 */
    93 static inline void hc_fini(hc_t *instance)
    94         { /* TODO: implement*/ };
     88static inline void hc_fini(hc_t *instance) { /* TODO: implement*/ };
    9589
    9690void hc_enqueue_endpoint(hc_t *instance, endpoint_t *ep);
    9791void hc_dequeue_endpoint(hc_t *instance, endpoint_t *ep);
    9892
    99 int hc_add_endpoint(hc_t *instance, usb_address_t address, usb_endpoint_t ep,
    100     usb_speed_t speed, usb_transfer_type_t type, usb_direction_t direction,
    101     size_t max_packet_size, size_t size, unsigned interval);
    102 int hc_remove_endpoint(hc_t *instance, usb_address_t address,
    103     usb_endpoint_t endpoint, usb_direction_t direction);
    104 endpoint_t * hc_get_endpoint(hc_t *instance, usb_address_t address,
    105     usb_endpoint_t endpoint, usb_direction_t direction, size_t *bw);
    106 
    107 int hc_schedule(hc_t *instance, usb_transfer_batch_t *batch);
    10893void hc_interrupt(hc_t *instance, uint32_t status);
    109 
    110 /** Get and cast pointer to the driver data
    111  *
    112  * @param[in] fun DDF function pointer
    113  * @return cast pointer to driver_data
    114  */
    115 static inline hc_t * fun_to_hc(ddf_fun_t *fun)
    116         { return fun->driver_data; }
    11794#endif
    11895/**
Note: See TracChangeset for help on using the changeset viewer.