Changeset b77931d in mainline for uspace/drv/bus/usb/usbmast/main.c


Ignore:
Timestamp:
2011-11-05T16:08:01Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d176b1d
Parents:
ab27e01
Message:

usb: usb_pipe_t was always allocated in usb_endpoint_mapping_t, embed it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbmast/main.c

    rab27e01 rb77931d  
    140140
    141141        usb_log_info("Initializing mass storage `%s'.\n", dev->ddf_dev->name);
    142         usb_log_debug(" Bulk in endpoint: %d [%zuB].\n",
    143             dev->pipes[BULK_IN_EP].pipe->endpoint_no,
     142        usb_log_debug("Bulk in endpoint: %d [%zuB].\n",
     143            dev->pipes[BULK_IN_EP].pipe.endpoint_no,
    144144            (size_t) dev->pipes[BULK_IN_EP].descriptor->max_packet_size);
    145145        usb_log_debug("Bulk out endpoint: %d [%zuB].\n",
    146             dev->pipes[BULK_OUT_EP].pipe->endpoint_no,
     146            dev->pipes[BULK_OUT_EP].pipe.endpoint_no,
    147147            (size_t) dev->pipes[BULK_OUT_EP].descriptor->max_packet_size);
    148148
Note: See TracChangeset for help on using the changeset viewer.