ivms8.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * Speech Design Integrated Voicemail board specific definitions
  3. * - IVMS8 (small, 8 channels)
  4. * - IVML24 (large, 24 channels)
  5. *
  6. * In 2.5 when we force a new bootloader, we can merge these two, and add
  7. * in _MACH_'s for them. -- Tom
  8. *
  9. * Copyright (c) 2000, 2001 Wolfgang Denk (wd@denx.de)
  10. */
  11. #ifdef __KERNEL__
  12. #ifndef __ASM_IVMS8_H__
  13. #define __ASM_IVMS8_H__
  14. #include <linux/config.h>
  15. #include <asm/ppcboot.h>
  16. #define IVMS_IMMR_BASE 0xFFF00000 /* phys. addr of IMMR */
  17. #define IVMS_IMAP_SIZE (64 * 1024) /* size of mapped area */
  18. #define IMAP_ADDR IVMS_IMMR_BASE /* phys. base address of IMMR area */
  19. #define IMAP_SIZE IVMS_IMAP_SIZE /* mapped size of IMMR area */
  20. #define PCMCIA_MEM_ADDR ((uint)0xFE100000)
  21. #define PCMCIA_MEM_SIZE ((uint)(64 * 1024))
  22. #define FEC_INTERRUPT 9 /* = SIU_LEVEL4 */
  23. #define IDE0_INTERRUPT 10 /* = IRQ5 */
  24. #define CPM_INTERRUPT 11 /* = SIU_LEVEL5 (was: SIU_LEVEL2) */
  25. #define PHY_INTERRUPT 12 /* = IRQ6 */
  26. /* override the default number of IDE hardware interfaces */
  27. #define MAX_HWIFS 1
  28. /*
  29. * Definitions for IDE0 Interface
  30. */
  31. #define IDE0_BASE_OFFSET 0x0000 /* Offset in PCMCIA memory */
  32. #define IDE0_DATA_REG_OFFSET 0x0000
  33. #define IDE0_ERROR_REG_OFFSET 0x0081
  34. #define IDE0_NSECTOR_REG_OFFSET 0x0082
  35. #define IDE0_SECTOR_REG_OFFSET 0x0083
  36. #define IDE0_LCYL_REG_OFFSET 0x0084
  37. #define IDE0_HCYL_REG_OFFSET 0x0085
  38. #define IDE0_SELECT_REG_OFFSET 0x0086
  39. #define IDE0_STATUS_REG_OFFSET 0x0087
  40. #define IDE0_CONTROL_REG_OFFSET 0x0106
  41. #define IDE0_IRQ_REG_OFFSET 0x000A /* not used */
  42. /* We don't use the 8259. */
  43. #define NR_8259_INTS 0
  44. #endif /* __ASM_IVMS8_H__ */
  45. #endif /* __KERNEL__ */