summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-01 08:48:23 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-01 08:48:23 +0000
commit42e338c2278d4f528518951fbdc021d4ba6f1351 (patch)
tree10c7a3134c181302949fe4e192b9b84f97acc59d /sys/arch/hppa/dev
parent619e7a97d6158e0973616fd0707ca96f759b7e62 (diff)
fix debugging printf
Diffstat (limited to 'sys/arch/hppa/dev')
-rw-r--r--sys/arch/hppa/dev/pdc.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/hppa/dev/pdc.c b/sys/arch/hppa/dev/pdc.c
index 59d22be3006..d5386c9ae20 100644
--- a/sys/arch/hppa/dev/pdc.c
+++ b/sys/arch/hppa/dev/pdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdc.c,v 1.16 2002/01/25 21:42:09 mickey Exp $ */
+/* $OpenBSD: pdc.c,v 1.17 2002/02/01 08:48:22 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -108,18 +108,19 @@ pdc_init()
struct pz_device *pzd = &PAGE0->mem_cons;
extern int comdefaultrate;
#ifdef DEBUG
- printf("console: class %d flags %b bc %d/%d/%d/%d/%d/%d\n"
- " mod %x layers %x/%x/%x/%x/%/%x hpa %x\n",
+ printf("console: class %d flags %b bc %d/%d/%d/%d/%d/%d "
+ "mod %x layers %x/%x/%x/%x/%x/%x hpa %x\n",
pzd->pz_class, pzd->pz_flags, PZF_BITS,
pzd->pz_bc[0], pzd->pz_bc[1], pzd->pz_bc[2],
pzd->pz_bc[3], pzd->pz_bc[4], pzd->pz_bc[5], pzd->pz_mod,
pzd->pz_layers[0], pzd->pz_layers[1], pzd->pz_layers[2],
pzd->pz_layers[3], pzd->pz_layers[4], pzd->pz_layers[5],
pzd->pz_hpa);
+ DELAY(2000);
#endif
conaddr = (u_long)pzd->pz_hpa + IOMOD_DEVOFFSET;
conunit = 0;
- /* TODO detect the baud rate */
+ /* TODO detect the baud rate from layer[0] */
comdefaultrate = 9600;
}