mirror of https://github.com/xqemu/xqemu.git
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>
This commit is contained in:
parent
2d1de8508f
commit
fa8ee89e8b
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
#define MAXPORTS (MAXPORTS_2+MAXPORTS_3)
|
#define MAXPORTS (MAXPORTS_2+MAXPORTS_3)
|
||||||
#define MAXSLOTS MAXPORTS
|
#define MAXSLOTS MAXPORTS
|
||||||
#define MAXINTRS 1 /* MAXPORTS */
|
#define MAXINTRS MAXPORTS
|
||||||
|
|
||||||
#define TD_QUEUE 24
|
#define TD_QUEUE 24
|
||||||
|
|
||||||
|
@ -75,10 +75,6 @@
|
||||||
# error Increase LEN_REGS
|
# error Increase LEN_REGS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MAXINTRS > 1
|
|
||||||
# error TODO: only one interrupter supported
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* bit definitions */
|
/* bit definitions */
|
||||||
#define USBCMD_RS (1<<0)
|
#define USBCMD_RS (1<<0)
|
||||||
#define USBCMD_HCRST (1<<1)
|
#define USBCMD_HCRST (1<<1)
|
||||||
|
|
Loading…
Reference in New Issue