diff options
| author | dyoung <dyoung@NetBSD.org> | 2010-04-21 21:38:47 +0000 |
|---|---|---|
| committer | dyoung <dyoung@NetBSD.org> | 2010-04-21 21:38:47 +0000 |
| commit | ca0767d9d7a3f5b65e3a4f3fbccf876cb378a980 (patch) | |
| tree | 00d5f0c4693b07664d8934a53db722504292cb5b /sys/dev | |
| parent | c638cbeac1882a194744ae36f54c9c21d02a3269 (diff) | |
Don't printf bus_space_tag_t's in a MI driver.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/ahd_pci.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sys/dev/pci/ahd_pci.c b/sys/dev/pci/ahd_pci.c index 8f65c073ecd..b758049ce65 100644 --- a/sys/dev/pci/ahd_pci.c +++ b/sys/dev/pci/ahd_pci.c @@ -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 @@ ahd_pci_attach(device_t parent, device_t self, void *aux) 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 @@ ahd_pci_attach(device_t parent, device_t self, void *aux) 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 } |
