Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci If exceeding io/mem windows, show the number tha...
details: https://anonhg.NetBSD.org/src/rev/9e34b9dbff59
branches: trunk
changeset: 782187:9e34b9dbff59
user: matt <matt%NetBSD.org@localhost>
date: Sat Oct 20 05:33:00 2012 +0000
description:
If exceeding io/mem windows, show the number that got exceeded.
diffstat:
sys/dev/pci/pciconf.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r 3b1db7ff3756 -r 9e34b9dbff59 sys/dev/pci/pciconf.c
--- a/sys/dev/pci/pciconf.c Sat Oct 20 05:32:25 2012 +0000
+++ b/sys/dev/pci/pciconf.c Sat Oct 20 05:33:00 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pciconf.c,v 1.34 2012/01/27 18:53:08 para Exp $ */
+/* $NetBSD: pciconf.c,v 1.35 2012/10/20 05:33:00 matt Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciconf.c,v 1.34 2012/01/27 18:53:08 para Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciconf.c,v 1.35 2012/10/20 05:33:00 matt Exp $");
#include "opt_pci.h"
@@ -367,7 +367,8 @@
if (pb->io_total > 0) {
if (parent->niowin >= MAX_CONF_IO) {
- printf("pciconf: too many I/O windows\n");
+ printf("pciconf: too many (%d) I/O windows\n",
+ parent->niowin);
goto err;
}
pb->io_total |= 0xfff; /* Round up */
@@ -383,7 +384,8 @@
if (pb->mem_total > 0) {
if (parent->nmemwin >= MAX_CONF_MEM) {
- printf("pciconf: too many MEM windows\n");
+ printf("pciconf: too many (%d) MEM windows\n",
+ parent->nmemwin);
goto err;
}
pb->mem_total |= 0xfffff; /* Round up */
Home |
Main Index |
Thread Index |
Old Index