patch-2.4.25 linux-2.4.25/drivers/pcmcia/au1000_pb1x00.c

Next file: linux-2.4.25/drivers/pcmcia/cardbus.c
Previous file: linux-2.4.25/drivers/pcmcia/Makefile
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/pcmcia/au1000_pb1x00.c linux-2.4.25/drivers/pcmcia/au1000_pb1x00.c
@@ -124,7 +124,7 @@
 #else
 	vs0 = (au_readw(BOARD_STATUS_REG) >> 4) & 0x3;
 #ifdef CONFIG_MIPS_PB1500
-	inserted0 = !((au_readl(GPIO2_PIN_STATE) >> 1) & 0x1); /* gpio 201 */
+	inserted0 = !((au_readl(GPIO2_PINSTATE) >> 1) & 0x1); /* gpio 201 */
 #else /* Pb1100 */
 	inserted0 = !((au_readl(SYS_PINSTATERD) >> 9) & 0x1); /* gpio 9 */
 #endif

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