Update of /cvsroot/linux-mips/linux/drivers/pcmcia
In directory usw-pr-cvs1:/tmp/cvs-serv3483/drivers/pcmcia
Modified Files:
au1000_pb1000.c
Log Message:
Fixed a 3.3/5V voltage sense bug.
Index: au1000_pb1000.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/pcmcia/au1000_pb1000.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- au1000_pb1000.c 2001/10/03 22:49:23 1.2
+++ au1000_pb1000.c 2001/10/04 21:16:48 1.3
@@ -118,16 +118,7 @@
switch (vs) {
case 0:
case 1:
- DEBUG("%d: vs_3v\n", sock);
- state->vs_3v=1;
- break;
case 2:
- /*
- * This should be Xv voltage.
- * Don't know why with some cards the
- * register is reporting Xv voltage.
- * For now assume case 2 is really 3V.
- */
state->vs_3v=1;
break;
case 3:
@@ -143,16 +134,7 @@
switch (vs) {
case 0:
case 1:
- state->vs_3v=1;
- DEBUG(1, "%d: vs_3v\n", sock);
- break;
case 2:
- /*
- * This should be Xv voltage.
- * Don't know why with some cards the
- * register is reporting Xv voltage.
- * For now assume case 2 is really 3V.
- */
state->vs_3v=1;
break;
case 3:
|