scatterlist.h 420 B

123456789101112131415161718
  1. #ifndef _M68K_SCATTERLIST_H
  2. #define _M68K_SCATTERLIST_H
  3. struct scatterlist {
  4. struct page *page;
  5. unsigned int offset;
  6. unsigned int length;
  7. __u32 dma_address; /* A place to hang host-specific addresses at. */
  8. };
  9. /* This is bogus and should go away. */
  10. #define ISA_DMA_THRESHOLD (0x00ffffff)
  11. #define sg_dma_address(sg) ((sg)->dma_address)
  12. #define sg_dma_len(sg) ((sg)->length)
  13. #endif /* !(_M68K_SCATTERLIST_H) */