2013-02-02 20:47:37 +00:00
|
|
|
From bda96cc71d34d4c3163455c9ea570f62e9c745f4 Mon Sep 17 00:00:00 2001
|
2012-09-07 15:20:05 +00:00
|
|
|
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
Date: Tue, 4 Sep 2012 12:56:55 +0200
|
2012-10-28 18:05:07 +00:00
|
|
|
Subject: [PATCH] xhci: support multiple interrupters
|
2012-09-07 15:20:05 +00:00
|
|
|
|
|
|
|
Everything is in place, flip the big switch now
|
|
|
|
and enable support for multiple interrupters.
|
|
|
|
|
|
|
|
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
---
|
|
|
|
hw/usb/hcd-xhci.c | 6 +-----
|
|
|
|
1 file changed, 1 insertion(+), 5 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
|
2012-12-16 23:27:22 +00:00
|
|
|
index 9667c0d..874b545 100644
|
2012-09-07 15:20:05 +00:00
|
|
|
--- 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)
|