peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame 0352-xhci-support-multiple-interrupters.patch

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