]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] sparc32: add offset in pci_map_sg()
authorJan Andersson <jan.andersson@ieee.org>
Sat, 30 Dec 2006 00:50:04 +0000 (16:50 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 30 Dec 2006 18:56:45 +0000 (10:56 -0800)
commitdbc1333a347745bd55844649c19eb7d28f383a84
treec48a4edb6d8a7fe22e3515651b6cf6bd6f0784cd
parent8018c27b26af56af18eb8b2dc600eba825792d8f
[PATCH] 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>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc/kernel/ioport.c