diff options
author | Pete Popov <ppopov@embeddedalley.com> | 2005-09-16 20:38:10 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:24 -0400 |
commit | d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77 (patch) | |
tree | eeac9842013ab85276fff3ee64928c9c4cd1fd2c /include/asm-mips | |
parent | efe29c0f34dc3ee3511e46458f335edb7ee50327 (diff) |
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')
-rw-r--r-- | include/asm-mips/mach-db1x00/db1200.h | 10 | ||||
-rw-r--r-- | include/asm-mips/mach-pb1x00/pb1200.h | 8 |
2 files changed, 18 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; | |||
206 | #define DB1200_INT_END (DB1200_INT_BEGIN + 15) | 206 | #define DB1200_INT_END (DB1200_INT_BEGIN + 15) |
207 | 207 | ||
208 | /* For drivers/pcmcia/au1000_db1x00.c */ | 208 | /* For drivers/pcmcia/au1000_db1x00.c */ |
209 | |||
210 | /* PCMCIA Db1x00 specific defines */ | ||
211 | |||
212 | #define PCMCIA_MAX_SOCK 1 | ||
213 | #define PCMCIA_NUM_SOCKS (PCMCIA_MAX_SOCK+1) | ||
214 | |||
215 | /* VPP/VCC */ | ||
216 | #define SET_VCC_VPP(VCC, VPP, SLOT)\ | ||
217 | ((((VCC)<<2) | ((VPP)<<0)) << ((SLOT)*8)) | ||
218 | |||
209 | #define BOARD_PC0_INT DB1200_PC0_INT | 219 | #define BOARD_PC0_INT DB1200_PC0_INT |
210 | #define BOARD_PC1_INT DB1200_PC1_INT | 220 | #define BOARD_PC1_INT DB1200_PC1_INT |
211 | #define BOARD_CARD_INSERTED(SOCKET) bcsr->sig_status & (1<<(8+(2*SOCKET))) | 221 | #define BOARD_CARD_INSERTED(SOCKET) bcsr->sig_status & (1<<(8+(2*SOCKET))) |
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; | |||
173 | #define BCSR_INT_SD1INSERT 0x4000 | 173 | #define BCSR_INT_SD1INSERT 0x4000 |
174 | #define BCSR_INT_SD1EJECT 0x8000 | 174 | #define BCSR_INT_SD1EJECT 0x8000 |
175 | 175 | ||
176 | /* PCMCIA Db1x00 specific defines */ | ||
177 | #define PCMCIA_MAX_SOCK 1 | ||
178 | #define PCMCIA_NUM_SOCKS (PCMCIA_MAX_SOCK+1) | ||
179 | |||
180 | /* VPP/VCC */ | ||
181 | #define SET_VCC_VPP(VCC, VPP, SLOT)\ | ||
182 | ((((VCC)<<2) | ((VPP)<<0)) << ((SLOT)*8)) | ||
183 | |||
176 | #define AU1XXX_SMC91111_PHYS_ADDR (0x0D000300) | 184 | #define AU1XXX_SMC91111_PHYS_ADDR (0x0D000300) |
177 | #define AU1XXX_SMC91111_IRQ PB1200_ETH_INT | 185 | #define AU1XXX_SMC91111_IRQ PB1200_ETH_INT |
178 | 186 | ||