apb.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * apb.h: Advanced PCI Bridge Configuration Registers and Bits
  3. *
  4. * Copyright (C) 1998 Eddie C. Dost ([email protected])
  5. */
  6. #ifndef _SPARC64_APB_H
  7. #define _SPARC64_APB_H
  8. #define APB_TICK_REGISTER 0xb0
  9. #define APB_INT_ACK 0xb8
  10. #define APB_PRIMARY_MASTER_RETRY_LIMIT 0xc0
  11. #define APB_DMA_ASFR 0xc8
  12. #define APB_DMA_AFAR 0xd0
  13. #define APB_PIO_TARGET_RETRY_LIMIT 0xd8
  14. #define APB_PIO_TARGET_LATENCY_TIMER 0xd9
  15. #define APB_DMA_TARGET_RETRY_LIMIT 0xda
  16. #define APB_DMA_TARGET_LATENCY_TIMER 0xdb
  17. #define APB_SECONDARY_MASTER_RETRY_LIMIT 0xdc
  18. #define APB_SECONDARY_CONTROL 0xdd
  19. #define APB_IO_ADDRESS_MAP 0xde
  20. #define APB_MEM_ADDRESS_MAP 0xdf
  21. #define APB_PCI_CONTROL_LOW 0xe0
  22. # define APB_PCI_CTL_LOW_ARB_PARK (1 << 21)
  23. # define APB_PCI_CTL_LOW_ERRINT_EN (1 << 8)
  24. #define APB_PCI_CONTROL_HIGH 0xe4
  25. # define APB_PCI_CTL_HIGH_SERR (1 << 2)
  26. # define APB_PCI_CTL_HIGH_ARBITER_EN (1 << 0)
  27. #define APB_PIO_ASFR 0xe8
  28. #define APB_PIO_AFAR 0xf0
  29. #define APB_DIAG_REGISTER 0xf8
  30. #endif /* !(_SPARC64_APB_H) */