patch-2.4.20 linux-2.4.20/include/asm-mips/pb1500.h

Next file: linux-2.4.20/include/asm-mips/pci.h
Previous file: linux-2.4.20/include/asm-mips/pb1100.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-mips/pb1500.h linux-2.4.20/include/asm-mips/pb1500.h
@@ -22,7 +22,7 @@
  *
  * ########################################################################
  *
- * 
+ *
  */
 #ifndef __ASM_PB1500_H
 #define __ASM_PB1500_H
@@ -31,7 +31,7 @@
 #define PB1500_BOARD_STATUS   0xAE000004
 #define PB1500_PCI_PCMCIA     0xAE000010
   #define PC_DEASSERT_RST           0x80
-  #define PC_DRV_EN                 0x10 
+  #define PC_DRV_EN                 0x10
 #define PB1500_G_CONTROL      0xAE000014
 #define PB1500_RST_VDDI       0xAE00001C
 #define PB1500_LEDS           0xAE000018
@@ -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))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)