aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-05-11 12:57:30 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-10-16 11:26:01 +0200
commit38d375561f0f89e76f28ed9e69706bb2c980200f (patch)
treee1fcfa061126318bea8bc7db6b805bc05c4081aa /include/asm-x86
parenta17b4904206eda7d1120a099a9717e73113b275d (diff)
i386: enable sg chaining
We don't need to do more on x86, there's no iommu to be worried about. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/scatterlist_32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/scatterlist_32.h b/include/asm-x86/scatterlist_32.h
index d7e45a8f1aa..bd5164aa8f6 100644
--- a/include/asm-x86/scatterlist_32.h
+++ b/include/asm-x86/scatterlist_32.h
@@ -10,6 +10,8 @@ struct scatterlist {
unsigned int length;
};
+#define ARCH_HAS_SG_CHAIN
+
/* These macros should be used after a pci_map_sg call has been done
* to get bus addresses of each of the SG entries and their lengths.
* You should only work with the number of sg entries pci_map_sg