summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2011-02-27 18:01:28 +0000
committerjmcneill <jmcneill@NetBSD.org>2011-02-27 18:01:28 +0000
commit05fb46d53b1dfbcf3407172d4f251b3abd52b83c (patch)
tree4f0b3def514aed6471dcaab1f1eaf0a5300a9234 /sys/dev
parente69091a084680c9a76421e1896e818c52f62bc04 (diff)
revert previous; instead of commenting out the error message how about fixing
the code that causes it to be printed in the first place
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pci_map.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/pci_map.c b/sys/dev/pci/pci_map.c
index 747fcb44210..12a93a3ac55 100644
--- a/sys/dev/pci/pci_map.c
+++ b/sys/dev/pci/pci_map.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_map.c,v 1.26 2011/02/27 17:31:08 jruoho Exp $ */
+/* $NetBSD: pci_map.c,v 1.27 2011/02/27 18:01:28 jmcneill Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_map.c,v 1.26 2011/02/27 17:31:08 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_map.c,v 1.27 2011/02/27 18:01:28 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -174,6 +174,7 @@ pci_mem_find(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
if ((is64bit && PCI_MAPREG_MEM64_SIZE(wmask) == 0) ||
(!is64bit && PCI_MAPREG_MEM_SIZE(mask) == 0)) {
+ aprint_debug("pci_mem_find: void region\n");
return 1;
}