diff options
author | Pete Popov <ppopov@embeddedalley.com> | 2005-09-17 02:38:10 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 20:32:24 +0200 |
commit | d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77 (patch) | |
tree | eeac9842013ab85276fff3ee64928c9c4cd1fd2c /include/asm-mips/mach-db1x00/db1200.h | |
parent | - moved platform structure to platform.c (diff) | |
download | linux-d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77.tar.xz linux-d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77.zip |
Updated pcmcia driver with pb1200 and db1200 support.
Updated db1200_defconfig so pcmcia is enabled by default.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-db1x00/db1200.h')
-rw-r--r-- | include/asm-mips/mach-db1x00/db1200.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-mips/mach-db1x00/db1200.h b/include/asm-mips/mach-db1x00/db1200.h index 6d1ddf43d290..5d894376fc1a 100644 --- a/include/asm-mips/mach-db1x00/db1200.h +++ b/include/asm-mips/mach-db1x00/db1200.h @@ -206,6 +206,16 @@ static BCSR * const bcsr = (BCSR *)BCSR_KSEG1_ADDR; #define DB1200_INT_END (DB1200_INT_BEGIN + 15) /* For drivers/pcmcia/au1000_db1x00.c */ + +/* PCMCIA Db1x00 specific defines */ + +#define PCMCIA_MAX_SOCK 1 +#define PCMCIA_NUM_SOCKS (PCMCIA_MAX_SOCK+1) + +/* VPP/VCC */ +#define SET_VCC_VPP(VCC, VPP, SLOT)\ + ((((VCC)<<2) | ((VPP)<<0)) << ((SLOT)*8)) + #define BOARD_PC0_INT DB1200_PC0_INT #define BOARD_PC1_INT DB1200_PC1_INT #define BOARD_CARD_INSERTED(SOCKET) bcsr->sig_status & (1<<(8+(2*SOCKET))) |