diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-08-16 14:50:17 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-08-16 14:50:17 +0000 |
commit | 7f00f673b9f13763b9642e62566597f9551ddff7 (patch) | |
tree | 44282b1432695a0ce183308391f7883c9ea76477 /sys/arch/hp300 | |
parent | 08687e764ba49ccb118051314db11ce785823ccc (diff) |
Restore initialization of apcicnaddr which got accidentally removed in revision
1.5, about 5 years ago. My bad.
ok deraadt@
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/stand/common/apci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hp300/stand/common/apci.c b/sys/arch/hp300/stand/common/apci.c index f244d31c6b3..eb3eefbec6d 100644 --- a/sys/arch/hp300/stand/common/apci.c +++ b/sys/arch/hp300/stand/common/apci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apci.c,v 1.10 2008/06/26 05:42:10 ray Exp $ */ +/* $OpenBSD: apci.c,v 1.11 2010/08/16 14:50:16 miod Exp $ */ /* $NetBSD: apci.c,v 1.2 1997/10/04 17:20:15 thorpej Exp $ */ /*- @@ -102,6 +102,8 @@ apciprobe(struct consdev *cp) cp->cn_pri = CN_HIGHPRI; else cp->cn_pri = CN_LOWPRI; + + apcicnaddr = (struct apciregs *)IIOV(FRODO_BASE + FRODO_APCI_OFFSET(1)); } void |