x86-64: enable sg chaining

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
Jens Axboe 2007-05-10 11:59:55 +02:00
parent 9ee1bea469
commit 46856afa01
2 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,7 @@
* documentation. * documentation.
*/ */
#include <linux/scatterlist.h>
#include <asm/scatterlist.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/swiotlb.h> #include <asm/swiotlb.h>

View File

@ -11,6 +11,8 @@ struct scatterlist {
unsigned int dma_length; unsigned int dma_length;
}; };
#define ARCH_HAS_SG_CHAIN
#define ISA_DMA_THRESHOLD (0x00ffffff) #define ISA_DMA_THRESHOLD (0x00ffffff)
/* 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