Changes in uspace/drv/bus/usb/usbhub/usbhub.c [34c9cfc:58563585] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/usbhub.c
r34c9cfc r58563585 27 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 28 */ 29 29 30 /** @addtogroup drvusbhub 30 31 * @{ … … 56 57 57 58 #define HUB_FNC_NAME "hub" 59 58 60 /** Hub status-change endpoint description. 59 61 * … … 229 231 uint8_t *change_bitmap, size_t change_bitmap_size, void *arg) 230 232 { 231 // usb_log_debug("hub_port_changes_callback\n");232 233 usb_hub_dev_t *hub = arg; 233 234 assert(hub); … … 314 315 hub_dev->per_port_power ? "per port" : "ganged"); 315 316 316 for (unsigned port = 0; port < hub_dev->port_count; ++port) {317 for (unsigned int port = 0; port < hub_dev->port_count; ++port) { 317 318 usb_log_debug("(%p): Powering port %u.", hub_dev, port); 318 319 const int ret = usb_hub_port_set_feature(
Note:
See TracChangeset
for help on using the changeset viewer.