summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-11-28 07:35:28 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2012-11-28 07:35:28 +0100
commita8fc4ddc6d6af888f9f68d2c1ee9adffcc74cc73 (patch)
tree13210535aa9296ac74cd242e6ed231b010c2d617 /sys/src
parentf98bdfece0a0b9ab91d2c0c4ad215538f5debaf5 (diff)
usbehci: route ports to all ehci controllers, not just the first
i belive the seizing up was a side effect of broken bios handover. ehci will not work on the other controllers if we do not route the ports to them.
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/9/port/usbehci.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/src/9/port/usbehci.c b/sys/src/9/port/usbehci.c
index 01cf8a3f0..f27ff7567 100644
--- a/sys/src/9/port/usbehci.c
+++ b/sys/src/9/port/usbehci.c
@@ -3242,12 +3242,9 @@ init(Hci *hp)
opio->cmd |= Case;
coherence();
ehcirun(ctlr, 1);
- /*
- * route all ports by default to only one ehci (the first).
- * it's not obvious how multiple ehcis could work and on some
- * machines, setting Callmine on all ehcis makes the machine seize up.
- */
- opio->config = (ctlrno == 0 ? Callmine : 0);
+
+ /* route all ports to us */
+ opio->config = Callmine;
coherence();
for (i = 0; i < hp->nports; i++)