Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46856afa authored by Jens Axboe's avatar Jens Axboe
Browse files

x86-64: enable sg chaining

parent 9ee1bea4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -6,8 +6,7 @@
 * documentation.
 */


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

+2 −0
Original line number Diff line number Diff line
@@ -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