]> git.proxmox.com Git - mirror_qemu.git/commitdiff
usb: Add defines for USB Serial Bus Release Number register
authorBrad Hards <bradh@frogmouth.net>
Thu, 2 Jun 2011 01:18:46 +0000 (11:18 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 14 Jun 2011 10:56:50 +0000 (12:56 +0200)
Signed-off-by: Brad Hards <bradh@frogmouth.net>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb.h

index 609720893d74d99c6f102c7e3fc777a536d97583..06ce05826ad6c781024961b591103119cb04bd76 100644 (file)
--- a/hw/usb.h
+++ b/hw/usb.h
 #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 */