bseip.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * A collection of structures, addresses, and values associated with
  3. * the Bright Star Engineering ip-Engine board. Copied from the MBX stuff.
  4. *
  5. * Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
  6. */
  7. #ifndef __MACH_BSEIP_DEFS
  8. #define __MACH_BSEIP_DEFS
  9. #ifndef __ASSEMBLY__
  10. /* A Board Information structure that is given to a program when
  11. * prom starts it up.
  12. */
  13. typedef struct bd_info {
  14. unsigned int bi_memstart; /* Memory start address */
  15. unsigned int bi_memsize; /* Memory (end) size in bytes */
  16. unsigned int bi_intfreq; /* Internal Freq, in Hz */
  17. unsigned int bi_busfreq; /* Bus Freq, in Hz */
  18. unsigned char bi_enetaddr[6];
  19. unsigned int bi_baudrate;
  20. } bd_t;
  21. extern bd_t m8xx_board_info;
  22. /* Memory map is configured by the PROM startup.
  23. * All we need to get started is the IMMR.
  24. */
  25. #define IMAP_ADDR ((uint)0xff000000)
  26. #define IMAP_SIZE ((uint)(64 * 1024))
  27. #define PCMCIA_MEM_ADDR ((uint)0x04000000)
  28. #define PCMCIA_MEM_SIZE ((uint)(64 * 1024))
  29. #endif /* !__ASSEMBLY__ */
  30. /* We don't use the 8259.
  31. */
  32. #define NR_8259_INTS 0
  33. #endif