Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _M68K_SCATTERLIST_H |
2 | #define _M68K_SCATTERLIST_H | ||||
3 | |||||
4 | struct scatterlist { | ||||
5 | /* These two are only valid if ADDRESS member of this | ||||
6 | * struct is NULL. | ||||
7 | */ | ||||
8 | struct page *page; | ||||
9 | unsigned int offset; | ||||
10 | |||||
11 | unsigned int length; | ||||
12 | |||||
13 | __u32 dvma_address; /* A place to hang host-specific addresses at. */ | ||||
14 | }; | ||||
15 | |||||
16 | /* This is bogus and should go away. */ | ||||
17 | #define ISA_DMA_THRESHOLD (0x00ffffff) | ||||
18 | |||||
19 | #endif /* !(_M68K_SCATTERLIST_H) */ |