wdenk | 80885a9 | 2004-02-26 23:46:20 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2002 |
| 3 | * Torsten Demke, FORCE Computers GmbH. torsten.demke@fci.com |
| 4 | * |
| 5 | * (C) Copyright 2000 |
| 6 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 7 | * |
| 8 | * (C) Copyright 2002 |
| 9 | * James Dougherty (jfd@broadcom.com) |
| 10 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 11 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | 80885a9 | 2004-02-26 23:46:20 +0000 | [diff] [blame] | 12 | */ |
| 13 | |
| 14 | #ifndef __EXALION_H |
| 15 | #define __EXALION_H |
| 16 | |
| 17 | /* IRQ settings */ |
| 18 | #define PCI_INT_NA (0xff) /* PCI Intr. not used */ |
| 19 | #define PCI_INT_A (0x09) /* PCI Intr. A Interrupt Request Line Nr. */ |
| 20 | #define PCI_INT_B (0x0a) /* PCI Intr. B Interrupt Request Line Nr. */ |
| 21 | #define PCI_INT_C (0x0b) /* PCI Intr. C Interrupt Request Line Nr. */ |
| 22 | #define PCI_INT_D (0x0c) /* PCI Intr. D Interrupt Request Line Nr. */ |
| 23 | #if defined (CPU_MPC8245) |
| 24 | #define LN_1_INT PCI_INT_B /* ethernet interrupt level */ |
| 25 | #define LN_2_INT PCI_INT_C /* ethernet interrupt level */ |
| 26 | #define BCM_1_INT PCI_INT_A /* BCM5690 interrupt level */ |
| 27 | #define BCM_2_INT PCI_INT_B /* BCM5690 interrupt level */ |
| 28 | #elif defined (CPU_MPC8240) |
| 29 | #define BCM_INT PCI_INT_B /* BCM5600 interrupt level */ |
| 30 | #define LN_INT PCI_INT_C /* ethernet interrupt level */ |
| 31 | #endif |
| 32 | |
| 33 | #ifndef __ASSEMBLY__ |
| 34 | #endif /* !__ASSEMBLY__ */ |
| 35 | |
| 36 | #endif /* __EXALION_H */ |