diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-04 12:56:55 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-11 07:43:02 +0200 |
commit | fa8ee89e8b0a075e82ca54faa6135137abccfa48 (patch) | |
tree | 8e047c83075a0e009313d55e6fdff3ce601367b8 /hw/usb | |
parent | 2d1de8508fed1bddb1946d7d57256c96e02c1dd4 (diff) | |
download | hqemu-fa8ee89e8b0a075e82ca54faa6135137abccfa48.zip hqemu-fa8ee89e8b0a075e82ca54faa6135137abccfa48.tar.gz |
xhci: support multiple interrupters
Everything is in place, flip the big switch now
and enable support for multiple interrupters.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r-- | hw/usb/hcd-xhci.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index 1579851..2e3a620 100644 --- a/hw/usb/hcd-xhci.c +++ b/hw/usb/hcd-xhci.c @@ -42,7 +42,7 @@ #define MAXPORTS (MAXPORTS_2+MAXPORTS_3) #define MAXSLOTS MAXPORTS -#define MAXINTRS 1 /* MAXPORTS */ +#define MAXINTRS MAXPORTS #define TD_QUEUE 24 @@ -75,10 +75,6 @@ # error Increase LEN_REGS #endif -#if MAXINTRS > 1 -# error TODO: only one interrupter supported -#endif - /* bit definitions */ #define USBCMD_RS (1<<0) #define USBCMD_HCRST (1<<1) |