Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162721639
D57200.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
597 B
Referenced Files
None
Subscribers
None
D57200.diff
View Options
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h
--- a/sys/dev/usb/usb.h
+++ b/sys/dev/usb/usb.h
@@ -693,6 +693,15 @@
} __packed;
typedef struct usb_status usb_status_t;
+struct usb_ext_status {
+ uDWord wStatus;
+#define UDS_RX_SUBLINK_SPEED_ID_BITS(x) (x & 0xF)
+#define UDS_TX_SUBLINK_SPEED_ID_BITS(x) ((x >> 4) & 0xF)
+#define UDS_RX_SUBLINK_LANE_COUNT_BITS(x) ((x >> 8) & 0xF)
+#define UDS_TX_SUBLINK_LANE_COUNT_BITS(x) ((x >> 12) & 0xF)
+} __packed;
+typedef struct usb_ext_status usb_ext_status_t;
+
struct usb_hub_status {
uWord wHubStatus;
#define UHS_LOCAL_POWER 0x0001
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 17, 3:54 AM (10 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33469851
Default Alt Text
D57200.diff (597 B)
Attached To
Mode
D57200: usb: Add extended port status struct
Attached
Detach File
Event Timeline
Log In to Comment