Blame 0017-ehci-fix-port-count.patch
|
Hans de Goede |
3f1f29 |
From 62ffcd73894343e42b28eb1c4746ef706bd237b3 Mon Sep 17 00:00:00 2001
|
|
Hans de Goede |
3f1f29 |
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
3f1f29 |
Date: Fri, 1 Jul 2011 09:56:43 +0200
|
|
Hans de Goede |
3f1f29 |
Subject: [PATCH 17/35] ehci: fix port count.
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
The ICH4 EHCI controller which we emulate has six ports not four.
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
3f1f29 |
---
|
|
Hans de Goede |
3f1f29 |
hw/usb-ehci.c | 2 +-
|
|
Hans de Goede |
3f1f29 |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
|
|
Hans de Goede |
3f1f29 |
index ec68c29..0b959ca 100644
|
|
Hans de Goede |
3f1f29 |
--- a/hw/usb-ehci.c
|
|
Hans de Goede |
3f1f29 |
+++ b/hw/usb-ehci.c
|
|
Hans de Goede |
3f1f29 |
@@ -130,7 +130,7 @@
|
|
Hans de Goede |
3f1f29 |
#define FRAME_TIMER_NS (1000000000 / FRAME_TIMER_FREQ)
|
|
Hans de Goede |
3f1f29 |
|
|
Hans de Goede |
3f1f29 |
#define NB_MAXINTRATE 8 // Max rate at which controller issues ints
|
|
Hans de Goede |
3f1f29 |
-#define NB_PORTS 4 // Number of downstream ports
|
|
Hans de Goede |
3f1f29 |
+#define NB_PORTS 6 // Number of downstream ports
|
|
Hans de Goede |
3f1f29 |
#define BUFF_SIZE 5*4096 // Max bytes to transfer per transaction
|
|
Hans de Goede |
3f1f29 |
#define MAX_ITERATIONS 20 // Max number of QH before we break the loop
|
|
Hans de Goede |
3f1f29 |
#define MAX_QH 100 // Max allowable queue heads in a chain
|
|
Hans de Goede |
3f1f29 |
--
|
|
Hans de Goede |
3f1f29 |
1.7.5.1
|
|
Hans de Goede |
3f1f29 |
|