summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-01-25 21:42:10 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-01-25 21:42:10 +0000
commite05012fc6ce09aaf289888c906a8ae2618670aec (patch)
tree917075f5fa9c1e9151149f553a12c3194c344f9a /sys/arch/hppa
parentf8ad39edd040c91c28a1e15aa12b3e82ef55b00b (diff)
offset cons hpa to com regs, damnit
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/dev/pdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/pdc.c b/sys/arch/hppa/dev/pdc.c
index e12692ba390..59d22be3006 100644
--- a/sys/arch/hppa/dev/pdc.c
+++ b/sys/arch/hppa/dev/pdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdc.c,v 1.15 2002/01/25 21:31:53 mickey Exp $ */
+/* $OpenBSD: pdc.c,v 1.16 2002/01/25 21:42:09 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -117,7 +117,7 @@ pdc_init()
pzd->pz_layers[3], pzd->pz_layers[4], pzd->pz_layers[5],
pzd->pz_hpa);
#endif
- conaddr = (u_long)pzd->pz_hpa;
+ conaddr = (u_long)pzd->pz_hpa + IOMOD_DEVOFFSET;
conunit = 0;
/* TODO detect the baud rate */
comdefaultrate = 9600;