summaryrefslogtreecommitdiffstats
path: root/drivers/net/natsemi.c
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2008-11-14 13:51:54 +0000
committerDavid S. Miller <davem@davemloft.net>2008-11-16 01:45:24 -0800
commit773c9c1f77174429ad2feb1735a3beb33ff3b6c0 (patch)
treeb7195ca5a9e1d58546ef3d744618fa408ae6810f /drivers/net/natsemi.c
parentac450208dea8cf1b9aa8feabd06a7209a282d749 (diff)
downloadtalos-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/natsemi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud