Module Name:    src
Committed By:   palle
Date:           Tue Sep  8 04:04:33 UTC 2015

Modified Files:
        src/sys/arch/sparc64/dev: vpci.c

Log Message:
Improve printout duing autoconfiguration


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sparc64/dev/vpci.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/arch/sparc64/dev/vpci.c
diff -u src/sys/arch/sparc64/dev/vpci.c:1.3 src/sys/arch/sparc64/dev/vpci.c:1.4
--- src/sys/arch/sparc64/dev/vpci.c:1.3	Sun Sep  6 23:48:39 2015
+++ src/sys/arch/sparc64/dev/vpci.c	Tue Sep  8 04:04:33 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: vpci.c,v 1.3 2015/09/06 23:48:39 nakayama Exp $	*/
+/*	$NetBSD: vpci.c,v 1.4 2015/09/08 04:04:33 palle Exp $	*/
 /*
  * Copyright (c) 2015 Palle Lyckegaard
  * All rights reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vpci.c,v 1.3 2015/09/06 23:48:39 nakayama Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vpci.c,v 1.4 2015/09/08 04:04:33 palle Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -233,6 +233,8 @@ FiXME	
 	for (int range = 0; range < nranges; range++)
 		DPRINTF(VDB_PROM, ("\nvpci_attach: bus-range %d %08x", range, busranges[range]));
 
+ 	aprint_normal(": bus %d to %d", busranges[0], busranges[1]);
+	
 	vpci_init_iommu(sc, pbm);
 
 	pbm->vp_memt = vpci_alloc_mem_tag(pbm);
@@ -304,6 +306,8 @@ vpci_init_iommu(struct vpci_softc *sc, s
 		free(vdma, M_DEVBUF);
 	} else
 		panic("vpci_init_iommu: getprop virtual-dma failed");
+
+ 	aprint_normal(" vdma %x length %x\n", iobase, iolen);
 	
 	/* We have no STC.  */
 	is->is_sb[0] = NULL;

Reply via email to