eXalion.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. #ifndef __EXALION_H
  30. #define __EXALION_H
  31. /* IRQ settings */
  32. #define PCI_INT_NA (0xff) /* PCI Intr. not used */
  33. #define PCI_INT_A (0x09) /* PCI Intr. A Interrupt Request Line Nr. */
  34. #define PCI_INT_B (0x0a) /* PCI Intr. B Interrupt Request Line Nr. */
  35. #define PCI_INT_C (0x0b) /* PCI Intr. C Interrupt Request Line Nr. */
  36. #define PCI_INT_D (0x0c) /* PCI Intr. D Interrupt Request Line Nr. */
  37. #if defined (CPU_MPC8245)
  38. #define LN_1_INT PCI_INT_B /* ethernet interrupt level */
  39. #define LN_2_INT PCI_INT_C /* ethernet interrupt level */
  40. #define BCM_1_INT PCI_INT_A /* BCM5690 interrupt level */
  41. #define BCM_2_INT PCI_INT_B /* BCM5690 interrupt level */
  42. #elif defined (CPU_MPC8240)
  43. #define BCM_INT PCI_INT_B /* BCM5600 interrupt level */
  44. #define LN_INT PCI_INT_C /* ethernet interrupt level */
  45. #endif
  46. #ifndef __ASSEMBLY__
  47. #endif /* !__ASSEMBLY__ */
  48. #endif /* __EXALION_H */