Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb A few more USB 3.0 constants.
details: https://anonhg.NetBSD.org/src/rev/9f1bf142de17
branches: trunk
changeset: 789948:9f1bf142de17
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Fri Sep 13 23:30:47 2013 +0000
description:
A few more USB 3.0 constants.
diffstat:
sys/dev/usb/usb.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 12e548478a7d -r 9f1bf142de17 sys/dev/usb/usb.h
--- a/sys/dev/usb/usb.h Fri Sep 13 22:18:42 2013 +0000
+++ b/sys/dev/usb/usb.h Fri Sep 13 23:30:47 2013 +0000
@@ -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 @@
#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 @@
#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];
Home |
Main Index |
Thread Index |
Old Index