Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8737
b: refs/heads/master
c: 7cf27cb
h: refs/heads/master
i:
  8735: 6f42687
v: v3
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Sep 13, 2005
1 parent 2c3cdf2 commit ba51277
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 962d69ed6f5c911fbdb23ef2304e3a5903e5ccbb
refs/heads/master: 7cf27cb4162bd586c015e32383f30bc7fbb3ff8a
6 changes: 6 additions & 0 deletions trunk/include/asm-m68knommu/scatterlist.h
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) */

0 comments on commit ba51277

Please sign in to comment.