sun4paddr.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * sun4paddr.h: Various physical addresses on sun4 machines
  3. *
  4. * Copyright (C) 1997 Anton Blanchard (anton@progsoc.uts.edu.au)
  5. * Copyright (C) 1998 Chris Davis (cdavis@cois.on.ca)
  6. *
  7. * Now supports more sun4's
  8. */
  9. #ifndef _SPARC_SUN4PADDR_H
  10. #define _SPARC_SUN4PADDR_H
  11. #define SUN4_IE_PHYSADDR 0xf5000000
  12. #define SUN4_UNUSED_PHYSADDR 0
  13. /* these work for me */
  14. #define SUN4_200_MEMREG_PHYSADDR 0xf4000000
  15. #define SUN4_200_CLOCK_PHYSADDR 0xf3000000
  16. #define SUN4_200_BWTWO_PHYSADDR 0xfd000000
  17. #define SUN4_200_ETH_PHYSADDR 0xf6000000
  18. #define SUN4_200_SI_PHYSADDR 0xff200000
  19. /* these were here before */
  20. #define SUN4_300_MEMREG_PHYSADDR 0xf4000000
  21. #define SUN4_300_CLOCK_PHYSADDR 0xf2000000
  22. #define SUN4_300_TIMER_PHYSADDR 0xef000000
  23. #define SUN4_300_ETH_PHYSADDR 0xf9000000
  24. #define SUN4_300_BWTWO_PHYSADDR 0xfb400000
  25. #define SUN4_300_DMA_PHYSADDR 0xfa001000
  26. #define SUN4_300_ESP_PHYSADDR 0xfa000000
  27. /* Are these right? */
  28. #define SUN4_400_MEMREG_PHYSADDR 0xf4000000
  29. #define SUN4_400_CLOCK_PHYSADDR 0xf2000000
  30. #define SUN4_400_TIMER_PHYSADDR 0xef000000
  31. #define SUN4_400_ETH_PHYSADDR 0xf9000000
  32. #define SUN4_400_BWTWO_PHYSADDR 0xfb400000
  33. #define SUN4_400_DMA_PHYSADDR 0xfa001000
  34. #define SUN4_400_ESP_PHYSADDR 0xfa000000
  35. /*
  36. these are the actual values set and used in the code. Unused items set
  37. to SUN_UNUSED_PHYSADDR
  38. */
  39. extern int sun4_memreg_physaddr; /* memory register (ecc?) */
  40. extern int sun4_clock_physaddr; /* system clock */
  41. extern int sun4_timer_physaddr; /* timer, where applicable */
  42. extern int sun4_eth_physaddr; /* onboard ethernet (ie/le) */
  43. extern int sun4_si_physaddr; /* sun3 scsi adapter */
  44. extern int sun4_bwtwo_physaddr; /* onboard bw2 */
  45. extern int sun4_dma_physaddr; /* scsi dma */
  46. extern int sun4_esp_physaddr; /* esp scsi */
  47. extern int sun4_ie_physaddr; /* interrupt enable */
  48. #endif /* !(_SPARC_SUN4PADDR_H) */