diff options
author | Sam Leffler <sam@FreeBSD.org> | 2008-03-20 16:19:25 +0000 |
---|---|---|
committer | Sam Leffler <sam@FreeBSD.org> | 2008-03-20 16:19:25 +0000 |
commit | 43b1161d4d865e4cab9848ac3617bc84da4194d8 (patch) | |
tree | 52505d59404b1e19473df0d19c16200000764b76 /sys/sys/aac_ioctl.h | |
parent | 91a35e787094b1aca363bfd0ec8380d9a38ada53 (diff) | |
download | src-43b1161d4d865e4cab9848ac3617bc84da4194d8.tar.gz src-43b1161d4d865e4cab9848ac3617bc84da4194d8.zip |
Workaround design botch in usb: blindly mixing bus_dma with PIO does not
work on architectures with a write-back cache as the PIO writes end up
in the cache which the sync(BUS_DMASYNC_POSTREAD) in usb_transfer_complete
then discards; compensate in the xfer methods that do PIO by pushing the
writes out of the cache before usb_transfer_complete is called.
This fixes USB on xscale and likely other places.
Sponsored by: hobnob
Reviewed by: cognet, imp
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=177459
Diffstat (limited to 'sys/sys/aac_ioctl.h')
0 files changed, 0 insertions, 0 deletions