Changeset 4501e207 in mainline


Ignore:
Timestamp:
2011-10-12T17:31:05Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
96fde65
Parents:
aa1922c
Message:

rename: usb_hc_attached_device_t ⇒ usb_hub_attached_device_t

Host controller can't have anything attached (other than root hub).

Location:
uspace
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhcirh/port.h

    raa1922c r4501e207  
    6363        usb_hc_connection_t hc_connection;
    6464        ddf_dev_t *rh;
    65         usb_hc_attached_device_t attached_device;
     65        usb_hub_attached_device_t attached_device;
    6666        fid_t checker;
    6767} uhci_port_t;
  • uspace/drv/bus/usb/usbhub/port.h

    raa1922c r4501e207  
    5858
    5959        /** Information about attached device. */
    60         usb_hc_attached_device_t attached_device;
     60        usb_hub_attached_device_t attached_device;
    6161} usb_hub_port_t;
    6262
  • uspace/lib/usbdev/include/usb/dev/hub.h

    raa1922c r4501e207  
    5757        /** Devman handle of the device. */
    5858        devman_handle_t handle;
    59 } usb_hc_attached_device_t;
     59} usb_hub_attached_device_t;
    6060
    6161usb_address_t usb_hc_request_address(usb_hc_connection_t *, usb_speed_t);
    6262int usb_hc_register_device(usb_hc_connection_t *,
    63     const usb_hc_attached_device_t *);
     63    const usb_hub_attached_device_t *);
    6464int usb_hc_unregister_device(usb_hc_connection_t *, usb_address_t);
    6565
  • uspace/lib/usbdev/src/hub.c

    raa1922c r4501e207  
    9595 */
    9696int usb_hc_register_device(usb_hc_connection_t * connection,
    97     const usb_hc_attached_device_t *attached_device)
     97    const usb_hub_attached_device_t *attached_device)
    9898{
    9999        CHECK_CONNECTION(connection);
     
    332332         * And now inform the host controller about the handle.
    333333         */
    334         usb_hc_attached_device_t new_device = {
     334        usb_hub_attached_device_t new_device = {
    335335                .address = dev_addr,
    336336                .handle = child_handle
Note: See TracChangeset for help on using the changeset viewer.