Module Name:    src
Committed By:   skrll
Date:           Sat May 30 17:45:59 UTC 2009

Modified Files:
        src/sys/arch/hp700/dev: gecko.c

Log Message:
Give pdc_scanbus some help.

Use aprint* while here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hp700/dev/gecko.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/hp700/dev/gecko.c
diff -u src/sys/arch/hp700/dev/gecko.c:1.1 src/sys/arch/hp700/dev/gecko.c:1.2
--- src/sys/arch/hp700/dev/gecko.c:1.1	Thu May 28 08:41:29 2009
+++ src/sys/arch/hp700/dev/gecko.c	Sat May 30 17:45:59 2009
@@ -75,17 +75,15 @@
 	}
 	regs = bus_space_vaddr(ca->ca_iot, sc->sc_ioh);
 
-#if 1
-	printf(": %x-%x", regs->io_io_low, regs->io_io_high);
-#endif
+	aprint_verbose(": %x-%x", regs->io_io_low, regs->io_io_high);
 
-	printf("\n");
+	aprint_normal("\n");
 
 	nca = *ca;
-	nca.ca_hpabase = 0;
+	nca.ca_hpabase = regs->io_io_low;
 	nca.ca_nmodules = MAXMODBUS;
 
-	pdc_scanbus(self, &nca, gecko_callback /*regs->io_io_low */);
+	pdc_scanbus(self, &nca, gecko_callback);
 }
 
 static void

Reply via email to