浏览代码

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>
Jens Axboe 18 年之前
父节点
当前提交
38d375561f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/asm-x86/scatterlist_32.h

+ 2 - 0
include/asm-x86/scatterlist_32.h

@@ -10,6 +10,8 @@ struct scatterlist {
     unsigned int	length;
     unsigned int	length;
 };
 };
 
 
+#define ARCH_HAS_SG_CHAIN
+
 /* These macros should be used after a pci_map_sg call has been done
 /* 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.
  * 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
  * You should only work with the number of sg entries pci_map_sg