Changes in / [be8d907:55f324f] in mainline


Ignore:
Location:
uspace/drv/usbhub
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified uspace/drv/usbhub/ports.c

    rbe8d907 r55f324f  
    9595 * @param port port number, starting from 1
    9696 */
    97 void usb_hub_process_port_interrupt(usb_hub_info_t *hub,
     97void usb_hub_process_interrupt(usb_hub_info_t *hub,
    9898    uint16_t port) {
    9999        usb_log_debug("Interrupt at port %zu\n", (size_t) port);
  • TabularUnified uspace/drv/usbhub/ports.h

    rbe8d907 r55f324f  
    7070
    7171
    72 void usb_hub_process_port_interrupt(usb_hub_info_t *hub,
     72void usb_hub_process_interrupt(usb_hub_info_t *hub,
    7373        uint16_t port);
    7474
  • TabularUnified uspace/drv/usbhub/usbhub.c

    rbe8d907 r55f324f  
    168168                bool change = (change_bitmap[port / 8] >> (port % 8)) % 2;
    169169                if (change) {
    170                         usb_hub_process_port_interrupt(hub, port);
     170                        usb_hub_process_interrupt(hub, port);
    171171                }
    172172        }
     
    266266
    267267                if (!has_individual_port_powering) {
    268                         //this setting actually makes no difference
    269                         usb_log_debug("Hub has global powering\n");
     268                        usb_log_debug("Has_global powering\n");
     269                        opResult = usb_hub_set_feature(hub_info->control_pipe,
     270                            USB_HUB_FEATURE_C_HUB_LOCAL_POWER);
     271                        if (opResult != EOK) {
     272                                usb_log_error("Cannot power hub: %s\n",
     273                                    str_error(opResult));
     274                        }
    270275                }
    271276
     
    275280                            port, USB_HUB_FEATURE_PORT_POWER);
    276281                        if (opResult != EOK) {
    277                                 usb_log_error("Cannot power on port %zu: %s.\n",
     282                                usb_log_error("cannot power on port %zu: %s.\n",
    278283                                    port, str_error(opResult));
    279284                        }
Note: See TracChangeset for help on using the changeset viewer.