Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/hc.c

    rc61338a r62ed5bc  
    6767static int hc_debug_checker(void *arg);
    6868
    69 static bool usb_is_allowed(
     69static bool allowed_usb_packet(
    7070    bool low_speed, usb_transfer_type_t transfer, size_t size);
    7171/*----------------------------------------------------------------------------*/
     
    323323        assert(batch);
    324324        const int low_speed = (batch->speed == USB_SPEED_LOW);
    325         if (!usb_is_allowed(
     325        if (!allowed_usb_packet(
    326326            low_speed, batch->transfer_type, batch->max_packet_size)) {
    327327                usb_log_warning(
    328                     "Invalid USB transfer specified %s SPEED %d %zu.\n",
     328                    "Invalid USB packet specified %s SPEED %d %zu.\n",
    329329                    low_speed ? "LOW" : "FULL" , batch->transfer_type,
    330330                    batch->max_packet_size);
     
    471471}
    472472/*----------------------------------------------------------------------------*/
    473 /** Check transfers for USB validity
     473/** Check transfer packets, for USB validity
    474474 *
    475475 * @param[in] low_speed Transfer speed.
    476476 * @param[in] transfer Transer type
    477  * @param[in] size Size of data packets
     477 * @param[in] size Maximum size of used packets
    478478 * @return True if transaction is allowed by USB specs, false otherwise
    479479 */
    480 bool usb_is_allowed(
     480bool allowed_usb_packet(
    481481    bool low_speed, usb_transfer_type_t transfer, size_t size)
    482482{
Note: See TracChangeset for help on using the changeset viewer.