提交 46856afa 编写于 作者: J Jens Axboe

x86-64: enable sg chaining

Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 9ee1bea4
......@@ -6,8 +6,7 @@
* documentation.
*/
#include <asm/scatterlist.h>
#include <linux/scatterlist.h>
#include <asm/io.h>
#include <asm/swiotlb.h>
......
......@@ -11,6 +11,8 @@ struct scatterlist {
unsigned int dma_length;
};
#define ARCH_HAS_SG_CHAIN
#define ISA_DMA_THRESHOLD (0x00ffffff)
/* These macros should be used after a pci_map_sg call has been done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册