typo fix for au1's pcmcia debugging code
PATCH 1/1 typo fix for au1's pcmcia debugging code
Hi Pete,
this is just a quick typo fix patch for current 2.4 branch on linux-mips.org.
I'm assuming that the original code was intended to use macro `DEBUG()' defined in cs_internal.h.
and macro DEBUG()' requires int pc_debug' declared somewhere.
Hope I'm not misunderstanding anything.
regards,
--
yashi
Index: drivers/pcmcia/au1000_db1x00.c
===================================================================
RCS file: /home/cvs/linux/drivers/pcmcia/Attic/au1000_db1x00.c,v retrieving revision 1.1.2.2
pcmcia/au1000_db1x00.c +4 -4
@@ -94,8 +94,8 @@ inserted = !(bcsr->status & (1 <<5 )); } -DEBUG (KERN_DEBUG "db1x00 socket %d: inserted %d, vs %d\n" , - sock, inserted, vs); +DEBUG (3 ,"db1x00 socket %d: inserted %d, vs %d\n" , + sock, inserted, vs);if (inserted) {switch (vs) {
@@ -161,8 +161,8 @@if (sock >PCMCIA_MAX_SOCK )return -1 ; -DEBUG (KERN_DEBUG "socket %d Vcc %dV Vpp %dV, reset %d\n" , - sock, configure->vcc, configure->vpp, configure->reset); +DEBUG (3 ,"socket %d Vcc %dV Vpp %dV, reset %d\n" , + sock, configure->vcc, configure->vpp, configure->reset);/* pcmcia reg was set to zero at init time. Be careful when * initializing a socket not to wipe out the settings of the
Index: drivers/pcmcia/au1000_generic.c
===================================================================
RCS file: /home/cvs/linux/drivers/pcmcia/au1000_generic.c,v retrieving revision 1.3.2.9
pcmcia/au1000_generic.c +1 -1
@@ -56,7 +56,7 @@#include <asm/au1000_pcmcia.h> #ifdef PCMCIA_DEBUG -static int pc_debug; +int pc_debug =PCMCIA_DEBUG ;#endif MODULE_LICENSE ("GPL" );
Index: drivers/pcmcia/au1000_pb1x00.c
===================================================================
RCS file: /home/cvs/linux/drivers/pcmcia/au1000_pb1x00.c,v retrieving revision 1.1.2.3
pcmcia/au1000_pb1x00.c +4 -4
@@ -219,8 +219,8 @@ } pcr &= ~PCR_SLOT_0_RST ; -DEBUG (KERN_INFO "Vcc %dV Vpp %dV, pcr %x\n" , - configure->vcc, configure->vpp, pcr); +DEBUG (3 ,"Vcc %dV Vpp %dV, pcr %x\n" , + configure->vcc, configure->vpp, pcr);switch (configure->vcc){case 0 :/* Vcc 0 */ switch (configure->vpp) {
@@ -330,8 +330,8 @@ pcr =au_readw (PCMCIA_BOARD_REG ) & ~0xf ; -DEBUG (KERN_INFO "Vcc %dV Vpp %dV, pcr %x, reset %d\n" , - configure->vcc, configure->vpp, pcr, configure->reset); +DEBUG (3 ,"Vcc %dV Vpp %dV, pcr %x, reset %d\n" , + configure->vcc, configure->vpp, pcr, configure->reset);switch (configure->vcc){