diff options
author | Brad Hards <bradh@frogmouth.net> | 2011-06-02 11:18:46 +1000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-06-14 12:56:50 +0200 |
commit | 8e257816b0cb267b0cdfb819449d39f1689e0aa4 (patch) | |
tree | 4d5047892345d82de8177c90a95b6051e74e8286 /hw/usb.h | |
parent | 290a5c60a3d203a62a09c88083456ed3ad20329f (diff) | |
download | hqemu-8e257816b0cb267b0cdfb819449d39f1689e0aa4.zip hqemu-8e257816b0cb267b0cdfb819449d39f1689e0aa4.tar.gz |
usb: Add defines for USB Serial Bus Release Number register
Signed-off-by: Brad Hards <bradh@frogmouth.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb.h')
-rw-r--r-- | hw/usb.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -26,6 +26,12 @@ #include "qdev.h" #include "qemu-queue.h" +/* Constants related to the USB / PCI interaction */ +#define USB_SBRN 0x60 /* Serial Bus Release Number Register */ +#define USB_RELEASE_1 0x10 /* USB 1.0 */ +#define USB_RELEASE_2 0x20 /* USB 2.0 */ +#define USB_RELEASE_3 0x30 /* USB 3.0 */ + #define USB_TOKEN_SETUP 0x2d #define USB_TOKEN_IN 0x69 /* device -> host */ #define USB_TOKEN_OUT 0xe1 /* host -> device */ |