From: Jesse Brandeburg Date: Fri, 14 Nov 2008 13:51:54 +0000 (+0000) Subject: e100: fix dma error in direction for mapping X-Git-Tag: v2.6.28-rc6~62^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=773c9c1f77174429ad2feb1735a3beb33ff3b6c0;p=pandora-kernel.git 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 Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed