mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00: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>
29 lines
647 B
C
29 lines
647 B
C
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* include/asm-sh64/scatterlist.h
|
|
*
|
|
* Copyright (C) 2003 Paul Mundt
|
|
*
|
|
*/
|
|
#ifndef __ASM_SH64_SCATTERLIST_H
|
|
#define __ASM_SH64_SCATTERLIST_H
|
|
|
|
#include <asm/types.h>
|
|
|
|
struct scatterlist {
|
|
#ifdef CONFIG_DEBUG_SG
|
|
unsigned long sg_magic;
|
|
#endif
|
|
unsigned long page_link;
|
|
unsigned int offset;/* for highmem, page offset */
|
|
dma_addr_t dma_address;
|
|
unsigned int length;
|
|
};
|
|
|
|
#define ISA_DMA_THRESHOLD (0xffffffff)
|
|
|
|
#endif /* !__ASM_SH64_SCATTERLIST_H */
|