Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pcmcia remove bogus debug (was reading unmapped CCR)



details:   https://anonhg.NetBSD.org/src/rev/511ef43201d7
branches:  trunk
changeset: 482832:511ef43201d7
user:      chopps <chopps%NetBSD.org@localhost>
date:      Tue Feb 22 21:29:36 2000 +0000

description:
remove bogus debug (was reading unmapped CCR)

diffstat:

 sys/dev/pcmcia/pcmcia.c |  16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diffs (31 lines):

diff -r f49a8d5f195f -r 511ef43201d7 sys/dev/pcmcia/pcmcia.c
--- a/sys/dev/pcmcia/pcmcia.c   Tue Feb 22 21:09:50 2000 +0000
+++ b/sys/dev/pcmcia/pcmcia.c   Tue Feb 22 21:29:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcmcia.c,v 1.19 2000/02/08 12:51:30 enami Exp $        */
+/*     $NetBSD: pcmcia.c,v 1.20 2000/02/22 21:29:36 chopps Exp $       */
 
 #define        PCMCIADEBUG
 
@@ -206,20 +206,8 @@
                paa.pf = pf;
 
                if ((pf->child = config_found_sm(&sc->dev, &paa, pcmcia_print,
-                   pcmcia_submatch)) != NULL) {
+                   pcmcia_submatch)) != NULL)
                        attached++;
-
-                       DPRINTF(("%s: function %d CCR at %d "
-                            "offset %lx: %x %x %x %x, %x %x %x %x, %x\n",
-                            sc->dev.dv_xname, pf->number,
-                            pf->pf_ccr_window,
-                            (unsigned long) pf->pf_ccr_offset,
-                            pcmcia_ccr_read(pf, 0x00),
-                       pcmcia_ccr_read(pf, 0x02), pcmcia_ccr_read(pf, 0x04),
-                       pcmcia_ccr_read(pf, 0x06), pcmcia_ccr_read(pf, 0x0A),
-                       pcmcia_ccr_read(pf, 0x0C), pcmcia_ccr_read(pf, 0x0E),
-                       pcmcia_ccr_read(pf, 0x10), pcmcia_ccr_read(pf, 0x12)));
-               }
        }
 
        return (attached ? 0 : 1);



Home | Main Index | Thread Index | Old Index