Module Name:    src
Committed By:   tsutsui
Date:           Thu Apr 10 18:10:09 UTC 2014

Modified Files:
        src/sys/arch/hp300/stand/common: apci.c

Log Message:
Fix a botch on switching from apci (and dca) to MI com(4) 10 years ago.

I.e. fix apci device address per FRODO_BASE macro change
in frodoreg.h rev 1.2.  Now bootloader works with serial console
on HP425e (which has only com at frodo).

Thanks to miod@openbsd for providing his 425e.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hp300/stand/common/apci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp300/stand/common/apci.c
diff -u src/sys/arch/hp300/stand/common/apci.c:1.11 src/sys/arch/hp300/stand/common/apci.c:1.12
--- src/sys/arch/hp300/stand/common/apci.c:1.11	Tue Feb  8 20:20:14 2011
+++ src/sys/arch/hp300/stand/common/apci.c	Thu Apr 10 18:10:09 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: apci.c,v 1.11 2011/02/08 20:20:14 rmind Exp $	*/
+/*	$NetBSD: apci.c,v 1.12 2014/04/10 18:10:09 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
@@ -85,7 +85,8 @@ void
 apciprobe(struct consdev *cp)
 {
 
-	apcicnaddr = (void *)IIOV(FRODO_BASE + FRODO_APCI_OFFSET(1));
+	apcicnaddr =
+	    (void *)IIOV(INTIOBASE + FRODO_BASE + FRODO_APCI_OFFSET(1));
 
 	cp->cn_pri = CN_DEAD;
 

Reply via email to