Changeset 58563585 in mainline for uspace/drv/bus/usb/usbhub/usbhub.c
- Timestamp:
- 2016-08-31T11:15:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 10cb47e
- Parents:
- 7a67416
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/usbhub.c
r7a67416 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.