From: Pete P. <pp...@us...> - 2002-04-22 17:37:39
|
Update of /cvsroot/linux-mips/linux/drivers/pcmcia In directory usw-pr-cvs1:/tmp/cvs-serv28003/drivers/pcmcia Modified Files: au1000_pb1x00.c Log Message: Fixed a Pb1000 voltage sense bug which I introduced when I merged the Pb1x00 files. Index: au1000_pb1x00.c =================================================================== RCS file: /cvsroot/linux-mips/linux/drivers/pcmcia/au1000_pb1x00.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- au1000_pb1x00.c 19 Apr 2002 19:12:52 -0000 1.1 +++ au1000_pb1x00.c 22 Apr 2002 17:37:35 -0000 1.2 @@ -124,6 +124,7 @@ #ifdef CONFIG_MIPS_PB1000 vs = readw(PB1000_ACR1); inserted = !(vs & (ACR1_SLOT_0_CD1 | ACR1_SLOT_0_CD2)); + vs = (vs >> 4) & 0x3; #else vs = (readw(PB1100_BOARD_STATUS) >> 4) & 0x3; inserted = !((readl(SYS_PINSTATERD) >> 9) & 0x1); /* gpio 9 */ |