aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/psycho_common.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-10 06:52:51 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-11 02:11:58 -0400
commite6e003720fd7123482f77dcec19e930d272937fe (patch)
tree4b08ce49ffc264b7c2e8ae9a7c4650e9f4eff63b /arch/sparc64/kernel/psycho_common.h
parent1c03a55cdf309d0939e881b313abbe7e9a67d95e (diff)
sparc64: Commonize large portions of PSYCHO error handling.
The IOMMU and streaming cache error interrogation is moved here as well as the PCI error interrupt handler. 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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/psycho_common.h b/arch/sparc64/kernel/psycho_common.h
index adfbadb6986e..b53aa8dcad2c 100644
--- a/arch/sparc64/kernel/psycho_common.h
+++ b/arch/sparc64/kernel/psycho_common.h
@@ -1,6 +1,17 @@
1#ifndef _PSYCHO_COMMON_H 1#ifndef _PSYCHO_COMMON_H
2#define _PSYCHO_COMMON_H 2#define _PSYCHO_COMMON_H
3 3
4enum psycho_error_type {
5 UE_ERR, CE_ERR, PCI_ERR
6};
7
8extern void psycho_check_iommu_error(struct pci_pbm_info *pbm,
9 unsigned long afsr,
10 unsigned long afar,
11 enum psycho_error_type type);
12
13extern irqreturn_t psycho_pcierr_intr(int irq, void *dev_id);
14
4extern int psycho_iommu_init(struct pci_pbm_info *pbm, int tsbsize, 15extern int psycho_iommu_init(struct pci_pbm_info *pbm, int tsbsize,
5 u32 dvma_offset, u32 dma_mask, 16 u32 dvma_offset, u32 dma_mask,
6 unsigned long write_complete_offset); 17 unsigned long write_complete_offset);