diff options
author | 2010-08-16 14:50:16 +0000 | |
---|---|---|
committer | 2010-08-16 14:50:16 +0000 | |
commit | 332451b4898403148bd56289fcad22b6483fe08d (patch) | |
tree | 94506762607bf3fa62bb94d06aa78e4d739abdfb | |
parent | Make sure we reserve enough room after the kernel image to avoid stomping (diff) | |
download | wireguard-openbsd-332451b4898403148bd56289fcad22b6483fe08d.tar.xz wireguard-openbsd-332451b4898403148bd56289fcad22b6483fe08d.zip |
Restore initialization of apcicnaddr which got accidentally removed in revision
1.5, about 5 years ago. My bad.
ok deraadt@
-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 |