// Copyright 2018 The Fuchsia Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
library zircon.hw.usb.hub; | |
using zx; | |
[Packed, repr="C"] | |
struct UsbHubDescriptor { | |
uint8 bDescLength; | |
uint8 bDescriptorType; | |
uint8 bNbrPorts; | |
uint16 wHubCharacteristics; | |
uint8 bPowerOn2PwrGood; | |
uint8 bHubContrCurrent; | |
// Variable length union below, which we are ignoring here for now. | |
}; |