Changeset 27ed734c in mainline for uspace/lib/usb/include


Ignore:
Timestamp:
2011-10-31T13:06:57Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5e07cbc0
Parents:
d25e0a4
Message:

usb: Rename get_address ⇒ get_my_address and remove redundant handle parameter.

If you want to know what address the device uses ask the device not host controller.

Location:
uspace/lib/usb/include/usb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/ddfiface.h

    rd25e0a4 r27ed734c  
    4040
    4141int usb_iface_get_hc_handle_device_impl(ddf_fun_t *, devman_handle_t *);
    42 int usb_iface_get_address_forward_impl(ddf_fun_t *, devman_handle_t,
    43     usb_address_t *);
     42int usb_iface_get_my_address_forward_impl(ddf_fun_t *, usb_address_t *);
    4443extern usb_iface_t usb_iface_hub_impl;
    4544
    46 int usb_iface_get_address_from_device_data(ddf_fun_t *, devman_handle_t,
    47     usb_address_t *);
     45int usb_iface_get_my_address_from_device_data(ddf_fun_t *, usb_address_t *);
    4846extern usb_iface_t usb_iface_hub_child_impl;
    4947
    5048int usb_iface_get_hc_handle_hc_impl(ddf_fun_t *, devman_handle_t *);
    51 
    5249
    5350#endif
  • uspace/lib/usb/include/usb/hc.h

    rd25e0a4 r27ed734c  
    6262    devman_handle_t *);
    6363
    64 usb_address_t usb_hc_get_address_by_handle(devman_handle_t);
     64usb_address_t usb_get_address_by_handle(devman_handle_t);
    6565
    6666int usb_hc_find(devman_handle_t, devman_handle_t *);
Note: See TracChangeset for help on using the changeset viewer.