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