diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2008-11-14 13:51:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-16 01:45:24 -0800 |
commit | 773c9c1f77174429ad2feb1735a3beb33ff3b6c0 (patch) | |
tree | b7195ca5a9e1d58546ef3d744618fa408ae6810f /drivers/net/ne2k-pci.c | |
parent | ac450208dea8cf1b9aa8feabd06a7209a282d749 (diff) | |
download | talos-op-linux-773c9c1f77174429ad2feb1735a3beb33ff3b6c0.tar.gz talos-op-linux-773c9c1f77174429ad2feb1735a3beb33ff3b6c0.zip |
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 'drivers/net/ne2k-pci.c')
0 files changed, 0 insertions, 0 deletions