diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-06-03 16:30:18 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-09-19 13:04:53 +0200 |
commit | e144bb7af49ca8756b7222a75811f3b85b0bc1f5 (patch) | |
tree | 762382021445b1e19cdff67fb49126a8291c1382 /src/hw/usb.h | |
parent | 63cbab1628dc406ed5d765bd85bae3a1a525a2c0 (diff) | |
download | seabios-e144bb7af49ca8756b7222a75811f3b85b0bc1f5.tar.gz |
usb: add xhci support
$subject says all. Support for usb3 streams is not implemented yet,
otherwise it is fully functional. Tested all usb devices supported
by qemu (keyboard, storage, usb hubs), except for usb attached scsi
in usb3 mode (which needs streams).
Tested on qemu only, tagged with QEMU_HARDWARE because of that.
Testing with physical hardware to be done.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/hw/usb.h')
-rw-r--r-- | src/hw/usb.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/hw/usb.h b/src/hw/usb.h index d5f00b11..22173fb3 100644 --- a/src/hw/usb.h +++ b/src/hw/usb.h @@ -60,15 +60,17 @@ struct usbhub_op_s { void (*disconnect)(struct usbhub_s *hub, u32 port); }; -#define USB_TYPE_UHCI 1 -#define USB_TYPE_OHCI 2 -#define USB_TYPE_EHCI 3 +#define USB_TYPE_UHCI 1 +#define USB_TYPE_OHCI 2 +#define USB_TYPE_EHCI 3 +#define USB_TYPE_XHCI 4 -#define USB_FULLSPEED 0 -#define USB_LOWSPEED 1 -#define USB_HIGHSPEED 2 +#define USB_FULLSPEED 0 +#define USB_LOWSPEED 1 +#define USB_HIGHSPEED 2 +#define USB_SUPERSPEED 3 -#define USB_MAXADDR 127 +#define USB_MAXADDR 127 /**************************************************************** |