scatterlist.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. #ifndef _ASM_IA64_SCATTERLIST_H
  2. #define _ASM_IA64_SCATTERLIST_H
  3. /*
  4.  * Copyright (C) 1998-1999, 2001-2002 Hewlett-Packard Co
  5.  * David Mosberger-Tang <davidm@hpl.hp.com>
  6.  */
  7. struct scatterlist {
  8. /* This will disappear in 2.5.x: */
  9. char *address; /* location data is to be transferred to, NULL for highmem page */
  10. char *orig_address; /* for use by swiotlb */
  11. /* These two are only valid if ADDRESS member of this struct is NULL.  */
  12. struct page *page;
  13. unsigned int offset;
  14. unsigned int length; /* buffer length */
  15. };
  16. #define ISA_DMA_THRESHOLD (~0UL)
  17. #endif /* _ASM_IA64_SCATTERLIST_H */