Module Name:    src
Committed By:   msaitoh
Date:           Tue May 13 18:07:24 UTC 2014

Modified Files:
        src/sys/dev/pci: pci_subr.c

Log Message:
Print 32bit I/O region flag and 64bit memory region flag.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/dev/pci/pci_subr.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_subr.c
diff -u src/sys/dev/pci/pci_subr.c:1.110 src/sys/dev/pci/pci_subr.c:1.111
--- src/sys/dev/pci/pci_subr.c:1.110	Mon May 12 23:01:40 2014
+++ src/sys/dev/pci/pci_subr.c	Tue May 13 18:07:24 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: pci_subr.c,v 1.110 2014/05/12 23:01:40 msaitoh Exp $	*/
+/*	$NetBSD: pci_subr.c,v 1.111 2014/05/13 18:07:24 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 1997 Zubin D. Dittia.  All rights reserved.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.110 2014/05/12 23:01:40 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.111 2014/05/13 18:07:24 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -1696,6 +1696,7 @@ pci_conf_print_type1(
 		use_upper = 1;
 	else
 		use_upper = 0;
+	onoff("32bit I/O", use_upper);
 	base = (rval & PCI_BRIDGE_STATIO_IOBASE_MASK) << 8;
 	limit = ((rval >> PCI_BRIDGE_STATIO_IOLIMIT_SHIFT)
 	    & PCI_BRIDGE_STATIO_IOLIMIT_MASK) << 8;
@@ -1749,6 +1750,7 @@ pci_conf_print_type1(
 		use_upper = 1;
 	else
 		use_upper = 0;
+	onoff("64bit memory address", use_upper);
 	pbase = ((rval >> PCI_BRIDGE_PREFETCHMEM_BASE_SHIFT)
 	    & PCI_BRIDGE_PREFETCHMEM_BASE_MASK) << 20;
 	plimit = (((rval >> PCI_BRIDGE_PREFETCHMEM_LIMIT_SHIFT)

Reply via email to