2 * linux/include/asm/arch/pcmcia.h
4 * Copyright (C) 2000 John G Dorsey <john+@cs.cmu.edu>
5 * Copyright (C) 2003 Stefan Eletzhofer <stefan.eletzhofer@inqunat.de>
6 * Copyright (C) 2003 Ian Molton <spyro@f2s.com>
8 * This file contains definitions for the low-level PXA2xx kernel PCMCIA
9 * interface. Please see linux/Documentation/arm/SA1100/PCMCIA for details.
11 #ifndef _ASM_ARCH_PCMCIA
12 #define _ASM_ARCH_PCMCIA
14 /* include the world */
15 #include <pcmcia/version.h>
16 #include <pcmcia/cs_types.h>
17 #include <pcmcia/cs.h>
18 #include <pcmcia/ss.h>
19 #include <pcmcia/bulkmem.h>
20 #include <pcmcia/cistpl.h>
21 #include "cs_internal.h"
23 #include <asm/arch/pcmcia.h>
25 /* Ideally, we'd support up to MAX_SOCK sockets, but the PXA only
26 * has support for two. This shows up in lots of hardwired ways, such
27 * as the fact that MECR only has enough bits to configure two sockets.
28 * Since it's so entrenched in the hardware, limiting the software
29 * in this way doesn't seem too terrible.
31 #define PXA2XX_PCMCIA_MAX_SOCK (2)