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
- Lines: 9
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/drivers/pcmcia/au1000_pb1x00.c
- Orig date:
2003-08-25 04:44:42.000000000 -0700
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)