]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc32: add offset in pci_map_sg()
authorJan Andersson <jan.andersson@ieee.org>
Wed, 24 Jan 2007 23:10:10 +0000 (00:10 +0100)
committerAdrian Bunk <bunk@stusta.de>
Wed, 24 Jan 2007 23:10:10 +0000 (00:10 +0100)
commit1987ad05d5aaadd104dfe66b2caee35dc83b0b6f
treefbc2a95c768a401a465b58f42448f95b8c78a22b
parent0a55d471f11619490031ccbf834d9b9521d19681
sparc32: add offset in pci_map_sg()

Add sg->offset to sg->dvma_address in pci_map_sg() on sparc32.  Without the
offset, transfers to buffers that do not begin on a page boundary will not
work as expected.

Signed-off-by: Jan Andersson <jan.andersson@ieee.org>
Acked-By: David Miller <davem@davemloft.net>
arch/sparc/kernel/ioport.c