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 | * |
| 11 | * See file CREDITS for list of people who contributed to this |
| 12 | * project. |
| 13 | * |
| 14 | * This program is free software; you can redistribute it and/or |
| 15 | * modify it under the terms of the GNU General Public License as |
| 16 | * published by the Free Software Foundation; either version 2 of |
| 17 | * the License, or (at your option) any later version. |
| 18 | * |
| 19 | * This program is distributed in the hope that it will be useful, |
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 | * GNU General Public License for more details. |
| 23 | * |
| 24 | * You should have received a copy of the GNU General Public License |
| 25 | * along with this program; if not, write to the Free Software |
| 26 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 27 | * MA 02111-1307 USA |
| 28 | */ |
| 29 | |
| 30 | #ifndef __EXALION_H |
| 31 | #define __EXALION_H |
| 32 | |
| 33 | /* IRQ settings */ |
| 34 | #define PCI_INT_NA (0xff) /* PCI Intr. not used */ |
| 35 | #define PCI_INT_A (0x09) /* PCI Intr. A Interrupt Request Line Nr. */ |
| 36 | #define PCI_INT_B (0x0a) /* PCI Intr. B Interrupt Request Line Nr. */ |
| 37 | #define PCI_INT_C (0x0b) /* PCI Intr. C Interrupt Request Line Nr. */ |
| 38 | #define PCI_INT_D (0x0c) /* PCI Intr. D Interrupt Request Line Nr. */ |
| 39 | #if defined (CPU_MPC8245) |
| 40 | #define LN_1_INT PCI_INT_B /* ethernet interrupt level */ |
| 41 | #define LN_2_INT PCI_INT_C /* ethernet interrupt level */ |
| 42 | #define BCM_1_INT PCI_INT_A /* BCM5690 interrupt level */ |
| 43 | #define BCM_2_INT PCI_INT_B /* BCM5690 interrupt level */ |
| 44 | #elif defined (CPU_MPC8240) |
| 45 | #define BCM_INT PCI_INT_B /* BCM5600 interrupt level */ |
| 46 | #define LN_INT PCI_INT_C /* ethernet interrupt level */ |
| 47 | #endif |
| 48 | |
| 49 | #ifndef __ASSEMBLY__ |
| 50 | #endif /* !__ASSEMBLY__ */ |
| 51 | |
| 52 | #endif /* __EXALION_H */ |