grml...
[seabios.git] / src / usb-hub.h
index 852f771f02836b98ffc83f3f88d3c9451086f0ca..7672028dd7ddca59b09d10b24ea7b2d3c9b549da 100644 (file)
@@ -50,6 +50,8 @@ struct usb_port_status {
 #define USB_PORT_STAT_RESET             0x0010
 #define USB_PORT_STAT_L1                0x0020
 #define USB_PORT_STAT_POWER             0x0100
+#define USB_PORT_STAT_SPEED_SHIFT       9
+#define USB_PORT_STAT_SPEED_MASK        (0x3 << USB_PORT_STAT_SPEED_SHIFT)
 #define USB_PORT_STAT_LOW_SPEED         0x0200
 #define USB_PORT_STAT_HIGH_SPEED        0x0400
 #define USB_PORT_STAT_TEST              0x0800