Blame 0352-xhci-support-multiple-interrupters.patch
|
Hans de Goede |
c8dfc6 |
From d6d045365af5cef5bc98ad48dcf4172cbe35c7c4 Mon Sep 17 00:00:00 2001
|
|
Hans de Goede |
c8dfc6 |
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
c8dfc6 |
Date: Tue, 4 Sep 2012 12:56:55 +0200
|
|
Hans de Goede |
c8dfc6 |
Subject: [PATCH 352/366] xhci: support multiple interrupters
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
Everything is in place, flip the big switch now
|
|
Hans de Goede |
c8dfc6 |
and enable support for multiple interrupters.
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
c8dfc6 |
---
|
|
Hans de Goede |
c8dfc6 |
hw/usb/hcd-xhci.c | 6 +-----
|
|
Hans de Goede |
c8dfc6 |
1 file changed, 1 insertion(+), 5 deletions(-)
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
|
|
Hans de Goede |
c8dfc6 |
index d6ab0c6..55e31ec 100644
|
|
Hans de Goede |
c8dfc6 |
--- a/hw/usb/hcd-xhci.c
|
|
Hans de Goede |
c8dfc6 |
+++ b/hw/usb/hcd-xhci.c
|
|
Hans de Goede |
c8dfc6 |
@@ -42,7 +42,7 @@
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
#define MAXPORTS (MAXPORTS_2+MAXPORTS_3)
|
|
Hans de Goede |
c8dfc6 |
#define MAXSLOTS MAXPORTS
|
|
Hans de Goede |
c8dfc6 |
-#define MAXINTRS 1 /* MAXPORTS */
|
|
Hans de Goede |
c8dfc6 |
+#define MAXINTRS MAXPORTS
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
#define TD_QUEUE 24
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
@@ -75,10 +75,6 @@
|
|
Hans de Goede |
c8dfc6 |
# error Increase LEN_REGS
|
|
Hans de Goede |
c8dfc6 |
#endif
|
|
Hans de Goede |
c8dfc6 |
|
|
Hans de Goede |
c8dfc6 |
-#if MAXINTRS > 1
|
|
Hans de Goede |
c8dfc6 |
-# error TODO: only one interrupter supported
|
|
Hans de Goede |
c8dfc6 |
-#endif
|
|
Hans de Goede |
c8dfc6 |
-
|
|
Hans de Goede |
c8dfc6 |
/* bit definitions */
|
|
Hans de Goede |
c8dfc6 |
#define USBCMD_RS (1<<0)
|
|
Hans de Goede |
c8dfc6 |
#define USBCMD_HCRST (1<<1)
|
|
Hans de Goede |
c8dfc6 |
--
|
|
Hans de Goede |
c8dfc6 |
1.7.12
|
|
Hans de Goede |
c8dfc6 |
|