diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-15 13:07:49 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-16 11:27:32 +0100 |
commit | 55903f1d2d8abfa8d7610ab32a4046a1ed4fdbb8 (patch) | |
tree | c82911f7129a40b4756e9e5f300d471e588b72e3 /fsdev | |
parent | 40862309a9d733cb0e878c79f477de003897b5d2 (diff) |
ehci: handle dma errors
Starting with commit 1c380f9460522f32c8dd2577b2a53d518ec91c6d dma
transfers can actually fail. This patch makes ehci keep track
of the busmaster bit in pci config space, by setting/clearing the
dma_context pointer. Attempts to dma without context will result
in raising HSE (Host System Error) interrupt and stopping the host
controller.
This patch fixes WinXP not booting with a usb stick attached to ehci.
Root cause is seabios activating ehci so you can boot from the stick,
and WinXP clearing the busmaster bit before resetting the host
controller, leading to ehci actually trying dma while it is disabled.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions