diff options
author | Pete Popov | 2005-09-17 02:38:10 +0200 |
---|---|---|
committer | Ralf Baechle | 2005-10-29 20:32:24 +0200 |
commit | d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77 (patch) | |
tree | eeac9842013ab85276fff3ee64928c9c4cd1fd2c /include/asm-mips/mach-pb1x00 | |
parent | - moved platform structure to platform.c (diff) | |
download | kernel-qcow2-linux-d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77.tar.gz kernel-qcow2-linux-d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77.tar.xz kernel-qcow2-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-pb1x00')
-rw-r--r-- | include/asm-mips/mach-pb1x00/pb1200.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-mips/mach-pb1x00/pb1200.h b/include/asm-mips/mach-pb1x00/pb1200.h index 0f6646335e90..9a3088b19bf3 100644 --- a/include/asm-mips/mach-pb1x00/pb1200.h +++ b/include/asm-mips/mach-pb1x00/pb1200.h @@ -173,6 +173,14 @@ static BCSR * const bcsr = (BCSR *)BCSR_KSEG1_ADDR; #define BCSR_INT_SD1INSERT 0x4000 #define BCSR_INT_SD1EJECT 0x8000 +/* 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 AU1XXX_SMC91111_PHYS_ADDR (0x0D000300) #define AU1XXX_SMC91111_IRQ PB1200_ETH_INT |