mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 13:26:41 +07:00
d6ec084200
Add a Kconfig entry which will toggle some sanity checks on the sg entry and tables. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
19 lines
335 B
C
19 lines
335 B
C
#ifndef _H8300_SCATTERLIST_H
|
|
#define _H8300_SCATTERLIST_H
|
|
|
|
#include <asm/types.h>
|
|
|
|
struct scatterlist {
|
|
#ifdef CONFIG_DEBUG_SG
|
|
unsigned long sg_magic;
|
|
#endif
|
|
unsigned long page_link;
|
|
unsigned int offset;
|
|
dma_addr_t dma_address;
|
|
unsigned int length;
|
|
};
|
|
|
|
#define ISA_DMA_THRESHOLD (0xffffffff)
|
|
|
|
#endif /* !(_H8300_SCATTERLIST_H) */
|