mirror of https://github.com/xemu-project/xemu.git
ohci: fix command HostControllerReset
Specification says that: "This bit is set by HCD to initiate a software reset of HC." Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-id: 1450567431-31795-4-git-send-email-hpoussin@reactos.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
7d938fd14b
commit
0922c3f606
|
@ -1714,7 +1714,7 @@ static void ohci_mem_write(void *opaque,
|
|||
ohci->status |= val;
|
||||
|
||||
if (ohci->status & OHCI_STATUS_HCR)
|
||||
ohci_hard_reset(ohci);
|
||||
ohci_soft_reset(ohci);
|
||||
break;
|
||||
|
||||
case 3: /* HcInterruptStatus */
|
||||
|
|
Loading…
Reference in New Issue