Module Name:    src
Committed By:   jakllsch
Date:           Fri Sep 13 23:30:47 UTC 2013

Modified Files:
        src/sys/dev/usb: usb.h

Log Message:
A few more USB 3.0 constants.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/dev/usb/usb.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/usb.h
diff -u src/sys/dev/usb/usb.h:1.104 src/sys/dev/usb/usb.h:1.105
--- src/sys/dev/usb/usb.h:1.104	Wed Aug 21 17:25:58 2013
+++ src/sys/dev/usb/usb.h	Fri Sep 13 23:30:47 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: usb.h,v 1.104 2013/08/21 17:25:58 jakllsch Exp $	*/
+/*	$NetBSD: usb.h,v 1.105 2013/09/13 23:30:47 jakllsch Exp $	*/
 /*	$FreeBSD: src/sys/dev/usb/usb.h,v 1.14 1999/11/17 22:33:46 n_hibma Exp $	*/
 
 /*
@@ -269,6 +269,8 @@ typedef struct {
 #define USB_2_MAX_CTRL_PACKET	64
 #define USB_2_MAX_BULK_PACKET	512
 
+#define USB_3_MAX_CTRL_PACKET	512
+
 typedef struct {
 	uByte		bLength;
 	uByte		bDescriptorType;
@@ -759,6 +761,7 @@ struct usb_device_info {
 #define USB_SPEED_LOW  1
 #define USB_SPEED_FULL 2
 #define USB_SPEED_HIGH 3
+#define USB_SPEED_SUPER 4
 	int		udi_power;	/* power consumption in mA, 0 if selfpowered */
 	int		udi_nports;
 	char		udi_devnames[USB_MAX_DEVNAMES][USB_MAX_DEVNAMELEN];

Reply via email to