SAA9730: Handle multicast frames.
[linux-2.6] / include / asm-m68knommu / scatterlist.h
1 #ifndef _M68KNOMMU_SCATTERLIST_H
2 #define _M68KNOMMU_SCATTERLIST_H
3
4 #include <linux/mm.h>
5 #include <asm/types.h>
6
7 struct scatterlist {
8         struct page     *page;
9         unsigned int    offset;
10         dma_addr_t      dma_address;
11         unsigned int    length;
12 };
13
14 #define sg_address(sg)          (page_address((sg)->page) + (sg)->offset)
15 #define sg_dma_address(sg)      ((sg)->dma_address)
16 #define sg_dma_len(sg)          ((sg)->length)
17
18 #define ISA_DMA_THRESHOLD       (0xffffffff)
19
20 #endif /* !(_M68KNOMMU_SCATTERLIST_H) */