diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2008-11-14 08:51:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-16 04:45:24 -0500 |
commit | 773c9c1f77174429ad2feb1735a3beb33ff3b6c0 (patch) | |
tree | b7195ca5a9e1d58546ef3d744618fa408ae6810f /block/elevator.c | |
parent | ac450208dea8cf1b9aa8feabd06a7209a282d749 (diff) |
e100: fix dma error in direction for mapping
The e100 driver triggers BUG_ON(buf->direction != dir)
by doing pci_map_single(..., PCI_DMA_BIDIRECTIONAL)
and pci_dma_sync_single_for_device(..., PCI_DMA_TODEVICE).
Changing the DMA direction, especially with dmabounce will result
in unexpected behaviour.
Reported-by: Anders Grafstrom <grfstrm@users.sourceforge.net>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions