kn02ca.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  * include/asm-mips/dec/kn02ca.h
  3.  *
  4.  * Personal DECstation 5000/xx (Maxine or KN02-CA) definitions.
  5.  *
  6.  * Copyright (C) 2002  Maciej W. Rozycki
  7.  *
  8.  * This program is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU General Public License
  10.  * as published by the Free Software Foundation; either version
  11.  * 2 of the License, or (at your option) any later version.
  12.  */
  13. #ifndef __ASM_MIPS_DEC_KN02CA_H
  14. #define __ASM_MIPS_DEC_KN02CA_H
  15. #include <asm/dec/kn02xa.h> /* For common definitions. */
  16. /*
  17.  * Some port addresses...
  18.  */
  19. #define KN02CA_IOASIC_BASE KN02XA_IOASIC_BASE /* I/O ASIC */
  20. #define KN02CA_RTC_BASE KN02XA_RTC_BASE /* RTC */
  21. /*
  22.  * CPU interrupt bits.
  23.  */
  24. #define KN02CA_CPU_INR_HALT 6 /* HALT from ACCESS.Bus */
  25. #define KN02CA_CPU_INR_CASCADE 5 /* I/O ASIC cascade */
  26. #define KN02CA_CPU_INR_MEMORY 4 /* memory, I/O bus write errors */
  27. #define KN02CA_CPU_INR_RTC 3 /* DS1287 RTC */
  28. #define KN02CA_CPU_INR_TIMER 2 /* ARC periodic timer */
  29. /*
  30.  * I/O ASIC interrupt bits.  Star marks denote non-IRQ status bits.
  31.  */
  32. #define KN02CA_IO_INR_FLOPPY 15 /* 82077 FDC */
  33. #define KN02CA_IO_INR_NVRAM 14 /* (*) NVRAM clear jumper */
  34. #define KN02CA_IO_INR_POWERON 13 /* (*) power-on reset */
  35. #define KN02CA_IO_INR_TC0 12 /* TURBOchannel slot #0 */
  36. #define KN02CA_IO_INR_ISDN 11 /* Am79C30A ISDN */
  37. #define KN02CA_IO_INR_NRMOD 10 /* (*) NRMOD manufacturing jumper */
  38. #define KN02CA_IO_INR_ASC 9 /* ASC (NCR53C94) SCSI */
  39. #define KN02CA_IO_INR_LANCE 8 /* LANCE (Am7990) Ethernet */
  40. #define KN02CA_IO_INR_HDFLOPPY 7 /* (*) HD (1.44MB) floppy status */
  41. #define KN02CA_IO_INR_SCC0 6 /* SCC (Z85C30) serial #0 */
  42. #define KN02CA_IO_INR_TC1 5 /* TURBOchannel slot #1 */
  43. #define KN02CA_IO_INR_XDFLOPPY 4 /* (*) XD (2.88MB) floppy status */
  44. #define KN02CA_IO_INR_VIDEO 3 /* framebuffer */
  45. #define KN02CA_IO_INR_XVIDEO 2 /* ~framebuffer */
  46. #define KN02CA_IO_INR_AB_XMIT 1 /* ACCESS.bus transmit */
  47. #define KN02CA_IO_INR_AB_RECV 0 /* ACCESS.bus receive */
  48. #endif /* __ASM_MIPS_DEC_KN02CA_H */