Changeset 6626bba9 in mainline for uspace/drv/bus/usb/usbhub/port.c


Ignore:
Timestamp:
2011-10-12T19:04:00Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
205f0766
Parents:
196fbb0
Message:

usbhub: Rename usb_hub_info ⇒ usb_hub_dev.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/port.c

    r196fbb0 r6626bba9  
    5050/** Information for fibril for device discovery. */
    5151struct add_device_phase1 {
    52         usb_hub_info_t *hub;
     52        usb_hub_dev_t *hub;
    5353        usb_hub_port_t *port;
    5454        usb_speed_t speed;
     
    5656
    5757static void usb_hub_port_removed_device(usb_hub_port_t *port,
    58     usb_hub_info_t *hub);
     58    usb_hub_dev_t *hub);
    5959static void usb_hub_port_reset_completed(usb_hub_port_t *port,
    6060    usb_port_status_t status);
     
    6262static int enable_port_callback(int port_no, void *arg);
    6363static int add_device_phase1_worker_fibril(void *arg);
    64 static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_info_t *hub,
     64static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_dev_t *hub,
    6565    usb_speed_t speed);
    6666
     
    130130 * @param port port number, starting from 1
    131131 */
    132 void usb_hub_port_process_interrupt(usb_hub_port_t *port, usb_hub_info_t *hub)
     132void usb_hub_port_process_interrupt(usb_hub_port_t *port, usb_hub_dev_t *hub)
    133133{
    134134        assert(port);
     
    249249 */
    250250static void usb_hub_port_removed_device(usb_hub_port_t *port,
    251     usb_hub_info_t *hub)
     251    usb_hub_dev_t *hub)
    252252{
    253253        assert(port);
     
    375375 *
    376376 * @param port_no Port number (starting at 1).
    377  * @param arg Custom argument, points to @c usb_hub_info_t.
     377 * @param arg Custom argument, points to @c usb_hub_dev_t.
    378378 * @return Error code.
    379379 */
     
    463463 * @return Error code.
    464464 */
    465 static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_info_t *hub,
     465static int create_add_device_fibril(usb_hub_port_t *port, usb_hub_dev_t *hub,
    466466    usb_speed_t speed)
    467467{
Note: See TracChangeset for help on using the changeset viewer.