Skip to content

Commit

Permalink
x86-64: enable sg chaining
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Jens Axboe committed Oct 16, 2007
1 parent 9ee1bea commit 46856af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions include/asm-x86/dma-mapping_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
* documentation.
*/


#include <asm/scatterlist.h>
#include <linux/scatterlist.h>
#include <asm/io.h>
#include <asm/swiotlb.h>

Expand Down
2 changes: 2 additions & 0 deletions include/asm-x86/scatterlist_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46856af

Please sign in to comment.