Changeset 15701921 in mainline for uspace/drv/uhci/root_hub/port.h


Ignore:
Timestamp:
2011-01-07T15:47:00Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8f748215
Parents:
8324b65
Message:

Remember device attached to the port

fix port disable routine:

  • no need to change enabled_change flag
    • properly report action (enabled/disabled)

add error handling in address assignment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci/root_hub/port.h

    r8324b65 r15701921  
    4747        unsigned number;
    4848        unsigned wait_period_usec;
     49        devman_handle_t attached_device;
    4950} uhci_port_t;
    5051
     
    5859        port->number = number;
    5960        port->wait_period_usec = usec;
     61        port->attached_device = 0;
    6062}
    6163
Note: See TracChangeset for help on using the changeset viewer.