diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-01-25 21:42:10 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-01-25 21:42:10 +0000 |
commit | e05012fc6ce09aaf289888c906a8ae2618670aec (patch) | |
tree | 917075f5fa9c1e9151149f553a12c3194c344f9a /sys/arch/hppa | |
parent | f8ad39edd040c91c28a1e15aa12b3e82ef55b00b (diff) |
offset cons hpa to com regs, damnit
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/dev/pdc.c | 4 |
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; |