Module Name: src
Committed By: dyoung
Date: Wed Apr 21 21:38:47 UTC 2010
Modified Files:
src/sys/dev/pci: ahd_pci.c
Log Message:
Don't printf bus_space_tag_t's in a MI driver.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/pci/ahd_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/ahd_pci.c
diff -u src/sys/dev/pci/ahd_pci.c:1.31 src/sys/dev/pci/ahd_pci.c:1.32
--- src/sys/dev/pci/ahd_pci.c:1.31 Sat Sep 26 14:44:11 2009
+++ src/sys/dev/pci/ahd_pci.c Wed Apr 21 21:38:47 2010
@@ -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
}