From e05012fc6ce09aaf289888c906a8ae2618670aec Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Fri, 25 Jan 2002 21:42:10 +0000 Subject: offset cons hpa to com regs, damnit --- sys/arch/hppa/dev/pdc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/hppa') 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; -- cgit v1.2.3