scatterlist.h 482 B

123456789101112131415161718
  1. #ifndef _ASM_M32R_SCATTERLIST_H
  2. #define _ASM_M32R_SCATTERLIST_H
  3. #include <asm/types.h>
  4. struct scatterlist {
  5. char * address; /* Location data is to be transferred to, NULL for
  6. * highmem page */
  7. struct page * page; /* Location for highmem page, if any */
  8. unsigned int offset;/* for highmem, page offset */
  9. dma_addr_t dma_address;
  10. unsigned int length;
  11. };
  12. #define ISA_DMA_THRESHOLD (0x1fffffff)
  13. #endif /* _ASM_M32R_SCATTERLIST_H */