summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb.h
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2011-10-26 17:43:27 +0000
committerhselasky <hselasky@FreeBSD.org>2011-10-26 17:43:27 +0000
commitd16be1d43585dd21b7cefb1b2d1c7d65968ee7cb (patch)
tree61cae9efa2e722177b98d8b8f0321329ef7db193 /sys/dev/usb/usb.h
parent6ae1a53eda68ab65a69718a023f2b6cd2b3dce28 (diff)
downloadFreeBSD-src-d16be1d43585dd21b7cefb1b2d1c7d65968ee7cb.zip
FreeBSD-src-d16be1d43585dd21b7cefb1b2d1c7d65968ee7cb.tar.gz
Fix suspend and resume of FULL and HIGH speed USB devices
in the generic XHCI driver. There appears to be some minor logic missing for this feature to work. MFC after: 3 days
Diffstat (limited to 'sys/dev/usb/usb.h')
-rw-r--r--sys/dev/usb/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h
index 89bc2c4..6a9b126 100644
--- a/sys/dev/usb/usb.h
+++ b/sys/dev/usb/usb.h
@@ -686,6 +686,7 @@ struct usb_port_status {
#define UPS_PORT_LS_HOT_RST 0x09
#define UPS_PORT_LS_COMP_MODE 0x0A
#define UPS_PORT_LS_LOOPBACK 0x0B
+#define UPS_PORT_LS_RESUME 0x0F
#define UPS_PORT_POWER 0x0100
#define UPS_LOW_SPEED 0x0200
#define UPS_HIGH_SPEED 0x0400
OpenPOWER on IntegriCloud