Ignore:
File:
1 edited

Legend:

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

    rd176b1d r9871bca  
    114114{
    115115        //TODO: flush buffers, or whatever.
    116         //TODO: remove device
    117116        return ENOTSUP;
    118117}
     
    140139
    141140        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,
    144             dev->pipes[BULK_IN_EP].pipe.max_packet_size);
     141        usb_log_debug(" Bulk in endpoint: %d [%zuB].\n",
     142            dev->pipes[BULK_IN_EP].pipe->endpoint_no,
     143            (size_t) dev->pipes[BULK_IN_EP].descriptor->max_packet_size);
    145144        usb_log_debug("Bulk out endpoint: %d [%zuB].\n",
    146             dev->pipes[BULK_OUT_EP].pipe.endpoint_no,
    147             dev->pipes[BULK_OUT_EP].pipe.max_packet_size);
     145            dev->pipes[BULK_OUT_EP].pipe->endpoint_no,
     146            (size_t) dev->pipes[BULK_OUT_EP].descriptor->max_packet_size);
    148147
    149148        usb_log_debug("Get LUN count...\n");
Note: See TracChangeset for help on using the changeset viewer.