elia.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /****************************************************************************/
  2. /*
  3. * elia.h -- Lineo (formerly Moreton Bay) eLIA platform support.
  4. *
  5. * (C) Copyright 1999-2000, Moreton Bay (www.moreton.com.au)
  6. * (C) Copyright 1999-2000, Lineo (www.lineo.com)
  7. */
  8. /****************************************************************************/
  9. #ifndef elia_h
  10. #define elia_h
  11. /****************************************************************************/
  12. #include <linux/config.h>
  13. #include <asm/coldfire.h>
  14. #ifdef CONFIG_eLIA
  15. /*
  16. * The serial port DTR and DCD lines are also on the Parallel I/O
  17. * as well, so define those too.
  18. */
  19. #define eLIA_DCD1 0x0001
  20. #define eLIA_DCD0 0x0002
  21. #define eLIA_DTR1 0x0004
  22. #define eLIA_DTR0 0x0008
  23. #define eLIA_PCIRESET 0x0020
  24. /*
  25. * Kernel macros to set and unset the LEDs.
  26. */
  27. #ifndef __ASSEMBLY__
  28. extern unsigned short ppdata;
  29. #endif /* __ASSEMBLY__ */
  30. #endif /* CONFIG_eLIA */
  31. /****************************************************************************/
  32. #endif /* elia_h */