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.
This commit is contained in:
parent
f98bdfece0
commit
a8fc4ddc6d
1 changed files with 3 additions and 6 deletions
|
@ -3242,12 +3242,9 @@ init(Hci *hp)
|
||||||
opio->cmd |= Case;
|
opio->cmd |= Case;
|
||||||
coherence();
|
coherence();
|
||||||
ehcirun(ctlr, 1);
|
ehcirun(ctlr, 1);
|
||||||
/*
|
|
||||||
* route all ports by default to only one ehci (the first).
|
/* route all ports to us */
|
||||||
* it's not obvious how multiple ehcis could work and on some
|
opio->config = Callmine;
|
||||||
* machines, setting Callmine on all ehcis makes the machine seize up.
|
|
||||||
*/
|
|
||||||
opio->config = (ctlrno == 0 ? Callmine : 0);
|
|
||||||
coherence();
|
coherence();
|
||||||
|
|
||||||
for (i = 0; i < hp->nports; i++)
|
for (i = 0; i < hp->nports; i++)
|
||||||
|
|
Loading…
Reference in a new issue