]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
E100: work around the driver using streaming DMA mapping for RX descriptors.
authorKrzysztof Halasa <khc@pm.waw.pl>
Tue, 14 Jul 2009 11:01:54 +0000 (11:01 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jul 2009 23:06:14 +0000 (16:06 -0700)
commit4662e31e5b9ae9ad4e0422c97ed9c757ac6d678f
treea426f9ab02141b6c0ebb8b0e5ace2fea99dcc5b1
parent2fe2c6bb0303064bde3b8ca0fd90c4367868486e
E100: work around the driver using streaming DMA mapping for RX descriptors.

[ Upstream commit 303d67c288319768b19ed8dbed429fef7eb7c275 ]

E100 places it's RX packet descriptors inside skb->data and uses them
with bidirectional streaming DMA mapping. Unfortunately it fails to
transfer skb->data ownership to the device after it reads the
descriptor's status, breaking on non-coherent (e.g., ARM) platforms.

This have to be converted to use coherent memory for the descriptors.

Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/e100.c