]> git.karo-electronics.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>
Sun, 16 Aug 2009 21:18:08 +0000 (14:18 -0700)
commit53cb98fa7cdb27d97f5c09db3eaeac9b4355d267
treee75928756cf7776e4f0cdd5a92b91c881b0f0db7
parent9089a1b0d68597991dd4c77f5d4d594eba91a4c5
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