diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-10 10:07:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-11 06:11:56 (GMT) |
commit | a21cff3e5e39c087b5a4c5efb20f1744475c556e (patch) | |
tree | 1438e43c4d7b2d4042f074afc887fe2e7c30e7ad /arch/sparc64/kernel/psycho_common.h | |
parent | 22fecbae4446ad470b9237ee9b79f80f343b3838 (diff) | |
download | linux-a21cff3e5e39c087b5a4c5efb20f1744475c556e.tar.xz |
sparc64: Start commonizing code common between SABRE and PSYCHO.
These are very similar chips, in fact they are identical in some
macro blocks.
So start commonizing code which they can share. We begin with
the IOMMU initialization sequence.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/psycho_common.h')
-rw-r--r-- | arch/sparc64/kernel/psycho_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/psycho_common.h b/arch/sparc64/kernel/psycho_common.h new file mode 100644 index 0000000..bffaff5 --- /dev/null +++ b/arch/sparc64/kernel/psycho_common.h @@ -0,0 +1,8 @@ +#ifndef _PSYCHO_COMMON_H +#define _PSYCHO_COMMON_H + +extern int psycho_iommu_init(struct pci_pbm_info *pbm, int tsbsize, + u32 dvma_offset, u32 dma_mask, + unsigned long write_complete_offset); + +#endif /* _PSYCHO_COMMON_H */ |