blob: f18b8e9d8c363e5902b066f698174dd2c6af0190 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/****************************************************************************/
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__
36extern unsigned short ppdata;
37#endif /* __ASSEMBLY__ */
38
39#endif /* CONFIG_eLIA */
40
41/****************************************************************************/
42#endif /* elia_h */