mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 10:19:47 +00:00
![Jens Axboe](/assets/img/avatar_default.png)
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>
21 lines
505 B
C
21 lines
505 B
C
#ifndef _ASM_M32R_SCATTERLIST_H
|
|
#define _ASM_M32R_SCATTERLIST_H
|
|
|
|
#include <asm/types.h>
|
|
|
|
struct scatterlist {
|
|
#ifdef CONFIG_DEBUG_SG
|
|
unsigned long sg_magic;
|
|
#endif
|
|
char * address; /* Location data is to be transferred to, NULL for
|
|
* highmem page */
|
|
unsigned long page_link;
|
|
unsigned int offset;/* for highmem, page offset */
|
|
|
|
dma_addr_t dma_address;
|
|
unsigned int length;
|
|
};
|
|
|
|
#define ISA_DMA_THRESHOLD (0x1fffffff)
|
|
|
|
#endif /* _ASM_M32R_SCATTERLIST_H */
|