wd501p.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* SPDX-License-Identifier: GPL-1.0+ */
  2. /*
  3. * Industrial Computer Source WDT500/501 driver
  4. *
  5. * (c) Copyright 1995 CymruNET Ltd
  6. * Innovation Centre
  7. * Singleton Park
  8. * Swansea
  9. * Wales
  10. * UK
  11. * SA2 8PP
  12. *
  13. * http://www.cymru.net
  14. *
  15. * Release 0.04.
  16. */
  17. #define WDT_COUNT0 (io+0)
  18. #define WDT_COUNT1 (io+1)
  19. #define WDT_COUNT2 (io+2)
  20. #define WDT_CR (io+3)
  21. #define WDT_SR (io+4) /* Start buzzer on PCI write */
  22. #define WDT_RT (io+5) /* Stop buzzer on PCI write */
  23. #define WDT_BUZZER (io+6) /* PCI only: rd=disable, wr=enable */
  24. #define WDT_DC (io+7)
  25. /* The following are only on the PCI card, they're outside of I/O space on
  26. * the ISA card: */
  27. #define WDT_CLOCK (io+12) /* COUNT2: rd=16.67MHz, wr=2.0833MHz */
  28. /* inverted opto isolated reset output: */
  29. #define WDT_OPTONOTRST (io+13) /* wr=enable, rd=disable */
  30. /* opto isolated reset output: */
  31. #define WDT_OPTORST (io+14) /* wr=enable, rd=disable */
  32. /* programmable outputs: */
  33. #define WDT_PROGOUT (io+15) /* wr=enable, rd=disable */
  34. /* FAN 501 500 */
  35. #define WDC_SR_WCCR 1 /* Active low */ /* X X X */
  36. #define WDC_SR_TGOOD 2 /* X X - */
  37. #define WDC_SR_ISOI0 4 /* X X X */
  38. #define WDC_SR_ISII1 8 /* X X X */
  39. #define WDC_SR_FANGOOD 16 /* X - - */
  40. #define WDC_SR_PSUOVER 32 /* Active low */ /* X X - */
  41. #define WDC_SR_PSUUNDR 64 /* Active low */ /* X X - */
  42. #define WDC_SR_IRQ 128 /* Active low */ /* X X X */