[PATCH] dvb: stv0299: reduce i2c xfer and set register 0x12 from inittab
[linux/fpc-iii.git] / include / asm-m68knommu / scatterlist.h
blob12309b181d29b5780dd84138b0712d6050387d85
1 #ifndef _M68KNOMMU_SCATTERLIST_H
2 #define _M68KNOMMU_SCATTERLIST_H
4 #include <linux/mm.h>
6 struct scatterlist {
7 struct page *page;
8 unsigned int offset;
9 dma_addr_t dma_address;
10 unsigned int length;
13 #define sg_address(sg) (page_address((sg)->page) + (sg)->offset
14 #define sg_dma_address(sg) ((sg)->dma_address)
15 #define sg_dma_len(sg) ((sg)->length)
17 #define ISA_DMA_THRESHOLD (0xffffffff)
19 #endif /* !(_M68KNOMMU_SCATTERLIST_H) */