Module Name: src Committed By: jmcneill Date: Sun Feb 27 18:01:29 UTC 2011
Modified Files: src/sys/dev/pci: pci_map.c Log Message: revert previous; instead of commenting out the error message how about fixing the code that causes it to be printed in the first place To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/pci_map.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/pci_map.c diff -u src/sys/dev/pci/pci_map.c:1.26 src/sys/dev/pci/pci_map.c:1.27 --- src/sys/dev/pci/pci_map.c:1.26 Sun Feb 27 17:31:08 2011 +++ src/sys/dev/pci/pci_map.c Sun Feb 27 18:01:28 2011 @@ -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 @@ 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; }