diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-05-11 06:57:30 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-10-16 05:26:01 -0400 |
commit | 38d375561f0f89e76f28ed9e69706bb2c980200f (patch) | |
tree | e1fcfa061126318bea8bc7db6b805bc05c4081aa | |
parent | a17b4904206eda7d1120a099a9717e73113b275d (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>
-rw-r--r-- | include/asm-x86/scatterlist_32.h | 2 |
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 { | |||
10 | unsigned int length; | 10 | unsigned int length; |
11 | }; | 11 | }; |
12 | 12 | ||
13 | #define ARCH_HAS_SG_CHAIN | ||
14 | |||
13 | /* These macros should be used after a pci_map_sg call has been done | 15 | /* These macros should be used after a pci_map_sg call has been done |
14 | * to get bus addresses of each of the SG entries and their lengths. | 16 | * to get bus addresses of each of the SG entries and their lengths. |
15 | * You should only work with the number of sg entries pci_map_sg | 17 | * You should only work with the number of sg entries pci_map_sg |