From: Pete P. <pp...@us...> - 2002-04-22 23:28:54
|
Update of /cvsroot/linux-mips/linux/include/asm-mips In directory usw-pr-cvs1:/tmp/cvs-serv23818/include/asm-mips Modified Files: pb1000.h pb1100.h pb1500.h Log Message: Added support for the 2nd pcmcia slot on the Pb1000 board. Index: pb1000.h =================================================================== RCS file: /cvsroot/linux-mips/linux/include/asm-mips/pb1000.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- pb1000.h 15 Feb 2002 19:47:28 -0000 1.7 +++ pb1000.h 22 Apr 2002 23:28:51 -0000 1.8 @@ -28,7 +28,8 @@ #define __ASM_PB1000_H /* PCMCIA PB1000 specific defines */ -#define PCMCIA_MAX_SOCK 0 /* the second socket, 1, is not supported at this time */ +#define PCMCIA_MAX_SOCK 1 +#define PCMCIA_NUM_SOCKS (PCMCIA_MAX_SOCK+1) #define PB1000_PCR 0xBE000000 #define PCR_SLOT_0_VPP0 (1<<0) Index: pb1100.h =================================================================== RCS file: /cvsroot/linux-mips/linux/include/asm-mips/pb1100.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- pb1100.h 18 Apr 2002 00:03:28 -0000 1.2 +++ pb1100.h 22 Apr 2002 23:28:51 -0000 1.3 @@ -77,6 +77,7 @@ /* PCMCIA PB1100 specific defines */ #define PCMCIA_MAX_SOCK 0 +#define PCMCIA_NUM_SOCKS (PCMCIA_MAX_SOCK+1) /* VPP/VCC */ #define SET_VCC_VPP(VCC, VPP) (((VCC)<<2) | ((VPP)<<0)) Index: pb1500.h =================================================================== RCS file: /cvsroot/linux-mips/linux/include/asm-mips/pb1500.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- pb1500.h 15 Feb 2002 19:47:28 -0000 1.2 +++ pb1500.h 22 Apr 2002 23:28:51 -0000 1.3 @@ -41,6 +41,7 @@ /* PCMCIA PB1500 specific defines */ #define PCMCIA_MAX_SOCK 0 +#define PCMCIA_NUM_SOCKS (PCMCIA_MAX_SOCK+1) /* VPP/VCC */ #define SET_VCC_VPP(VCC, VPP) (((VCC)<<2) | ((VPP)<<0)) |