-.\" $OpenBSD: usb.4,v 1.205 2021/02/04 16:25:38 anton Exp $
+.\" $OpenBSD: usb.4,v 1.206 2021/03/13 16:41:47 sthen Exp $
.\" $NetBSD: usb.4,v 1.15 1999/07/29 14:20:32 augustss Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 4 2021 $
+.Dd $Mdocdate: March 13 2021 $
.Dt USB 4
.Os
.Sh NAME
u_int8_t udi_protocol;
u_int8_t udi_config;
u_int8_t udi_speed;
-#define USB_SPEED_LOW 1
-#define USB_SPEED_FULL 2
-#define USB_SPEED_HIGH 3
+#define USB_SPEED_LOW 1
+#define USB_SPEED_FULL 2
+#define USB_SPEED_HIGH 3
+#define USB_SPEED_SUPER 4
+ u_int8_t udi_port;
int udi_power; /* power consumption */
int udi_nports;
char udi_devnames[USB_MAX_DEVNAMES]
[USB_MAX_DEVNAMELEN];
- u_int8_t udi_ports[16]; /* hub only */
-#define USB_PORT_ENABLED 0xff
-#define USB_PORT_SUSPENDED 0xfe
-#define USB_PORT_POWERED 0xfd
-#define USB_PORT_DISABLED 0xfc
+ u_int32_t udi_ports[16]; /* hub only */
char udi_serial[USB_MAX_STRING_LEN];
};
.Ed