Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci revert previous; instead of commenting out the e...
details: https://anonhg.NetBSD.org/src/rev/807c4c5b8391
branches: trunk
changeset: 762766:807c4c5b8391
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Feb 27 18:01:28 2011 +0000
description:
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:
sys/dev/pci/pci_map.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r ad47dbb98047 -r 807c4c5b8391 sys/dev/pci/pci_map.c
--- a/sys/dev/pci/pci_map.c Sun Feb 27 17:51:45 2011 +0000
+++ b/sys/dev/pci/pci_map.c Sun Feb 27 18:01:28 2011 +0000
@@ -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;
}
Home |
Main Index |
Thread Index |
Old Index