From: Mark Einon Date: Thu, 18 Oct 2012 20:34:22 +0000 (+0100) Subject: staging: et131x: Fix 64bit tx dma address handling X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~1066 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=998f6dfb61e52e1f42d97f9fab1bf7c8077bc293;p=pandora-kernel.git staging: et131x: Fix 64bit tx dma address handling The driver checks that the device can handle 64bit DMA addressing in et131x_pci_setup(), but then assumes that the top dword of a tx dma address is always zero when creating a dma mapping in nic_send_packet(). Fix the mapping to use the higher dword of the dma_addr_t returned by dma_map_single() and skb_frag_dma_map(). Also remove incorrect comments stating that dma_map_single() only returns a 32 bit address. Signed-off-by: Mark Einon Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed