-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Greg Ungerer
authored and
Linus Torvalds
committed
Sep 13, 2005
1 parent
2c3cdf2
commit ba51277
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 962d69ed6f5c911fbdb23ef2304e3a5903e5ccbb | ||
refs/heads/master: 7cf27cb4162bd586c015e32383f30bc7fbb3ff8a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
#ifndef _M68KNOMMU_SCATTERLIST_H | ||
#define _M68KNOMMU_SCATTERLIST_H | ||
|
||
#include <linux/mm.h> | ||
|
||
struct scatterlist { | ||
struct page *page; | ||
unsigned int offset; | ||
dma_addr_t dma_address; | ||
unsigned int length; | ||
}; | ||
|
||
#define sg_address(sg) (page_address((sg)->page) + (sg)->offset | ||
#define sg_dma_address(sg) ((sg)->dma_address) | ||
#define sg_dma_len(sg) ((sg)->length) | ||
|
||
#define ISA_DMA_THRESHOLD (0xffffffff) | ||
|
||
#endif /* !(_M68KNOMMU_SCATTERLIST_H) */ |