Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Don't printf bus_space_tag_t's in a MI driver.



details:   https://anonhg.NetBSD.org/src/rev/91df5f2c8799
branches:  trunk
changeset: 754150:91df5f2c8799
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Apr 21 21:38:47 2010 +0000

description:
Don't printf bus_space_tag_t's in a MI driver.

diffstat:

 sys/dev/pci/ahd_pci.c |  15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diffs (43 lines):

diff -r f1052f2b65ce -r 91df5f2c8799 sys/dev/pci/ahd_pci.c
--- a/sys/dev/pci/ahd_pci.c     Wed Apr 21 20:40:16 2010 +0000
+++ b/sys/dev/pci/ahd_pci.c     Wed Apr 21 21:38:47 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ahd_pci.c,v 1.31 2009/09/26 14:44:11 tsutsui Exp $     */
+/*     $NetBSD: ahd_pci.c,v 1.32 2010/04/21 21:38:47 dyoung Exp $      */
 
 /*
  * Product specific probe and attach routines for:
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahd_pci.c,v 1.31 2009/09/26 14:44:11 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahd_pci.c,v 1.32 2010/04/21 21:38:47 dyoung Exp $");
 
 #define AHD_PCI_IOADDR PCI_MAPREG_START        /* I/O Address */
 #define AHD_PCI_MEMADDR        (PCI_MAPREG_START + 4)  /* Mem I/O Address */
@@ -440,10 +440,8 @@
                                       PCI_COMMAND_STATUS_REG, command);
                }
 #ifdef AHD_DEBUG
-               printf("%s: doing memory mapping tag0 0x%x, tag1 0x%x, "
-                   "shs0 0x%lx, shs1 0x%lx\n",
-                   ahd_name(ahd), ahd->tags[0], ahd->tags[1],
-                   ahd->bshs[0], ahd->bshs[1]);
+               printf("%s: doing memory mapping shs0 0x%lx, shs1 0x%lx\n",
+                   ahd_name(ahd), ahd->bshs[0], ahd->bshs[1]);
 #endif
        }
 
@@ -467,9 +465,8 @@
                                       PCI_COMMAND_STATUS_REG, command);
                }
 #ifdef AHD_DEBUG
-               printf("%s: doing io mapping tag0 0x%x, tag1 0x%x, "
-                   "shs0 0x%lx, shs1 0x%lx\n", ahd_name(ahd), ahd->tags[0],
-                   ahd->tags[1], ahd->bshs[0], ahd->bshs[1]);
+               printf("%s: doing io mapping shs0 0x%lx, shs1 0x%lx\n",
+                   ahd_name(ahd), ahd->bshs[0], ahd->bshs[1]);
 #endif
 
        }



Home | Main Index | Thread Index | Old Index