iodata_landisk.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef __ASM_SH_IODATA_LANDISK_H
  2. #define __ASM_SH_IODATA_LANDISK_H
  3. /*
  4. * arch/sh/include/mach-landisk/mach/iodata_landisk.h
  5. *
  6. * Copyright (C) 2000 Atom Create Engineering Co., Ltd.
  7. *
  8. * IO-DATA LANDISK support
  9. */
  10. #include <linux/sh_intc.h>
  11. /* Box specific addresses. */
  12. #define PA_USB 0xa4000000 /* USB Controller M66590 */
  13. #define PA_ATARST 0xb0000000 /* ATA/FATA Access Control Register */
  14. #define PA_LED 0xb0000001 /* LED Control Register */
  15. #define PA_STATUS 0xb0000002 /* Switch Status Register */
  16. #define PA_SHUTDOWN 0xb0000003 /* Shutdown Control Register */
  17. #define PA_PCIPME 0xb0000004 /* PCI PME Status Register */
  18. #define PA_IMASK 0xb0000005 /* Interrupt Mask Register */
  19. /* 2003.10.31 I-O DATA NSD NWG add. for shutdown port clear */
  20. #define PA_PWRINT_CLR 0xb0000006 /* Shutdown Interrupt clear Register */
  21. #define PA_PIDE_OFFSET 0x40 /* CF IDE Offset */
  22. #define PA_SIDE_OFFSET 0x40 /* HDD IDE Offset */
  23. #define IRQ_PCIINTA evt2irq(0x2a0) /* PCI INTA IRQ */
  24. #define IRQ_PCIINTB evt2irq(0x2c0) /* PCI INTB IRQ */
  25. #define IRQ_PCIINTC evt2irq(0x2e0) /* PCI INTC IRQ */
  26. #define IRQ_PCIINTD evt2irq(0x300) /* PCI INTD IRQ */
  27. #define IRQ_ATA evt2irq(0x320) /* ATA IRQ */
  28. #define IRQ_FATA evt2irq(0x340) /* FATA IRQ */
  29. #define IRQ_POWER evt2irq(0x360) /* Power Switch IRQ */
  30. #define IRQ_BUTTON evt2irq(0x380) /* USL-5P Button IRQ */
  31. #define IRQ_FAULT evt2irq(0x3a0) /* USL-5P Fault IRQ */
  32. void init_landisk_IRQ(void);
  33. #define __IO_PREFIX landisk
  34. #include <asm/io_generic.h>
  35. #endif /* __ASM_SH_IODATA_LANDISK_H */