summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1996-11-23 21:47:14 +0000
committerkstailey <kstailey@cvs.openbsd.org>1996-11-23 21:47:14 +0000
commit728527f840ec82a566f72f3cec384e341ac59a4c (patch)
treef9b921355a0db868e86c0df2976673aee9af1339 /sys/arch/sun3
parent306adfe37a19b924bfe990750192540a4af86079 (diff)
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/dev/kd.c2
-rw-r--r--sys/arch/sun3/dev/memerr.c3
-rw-r--r--sys/arch/sun3/sun3/conf.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sun3/dev/kd.c b/sys/arch/sun3/dev/kd.c
index c3326cc689a..dee1cb64a30 100644
--- a/sys/arch/sun3/dev/kd.c
+++ b/sys/arch/sun3/dev/kd.c
@@ -64,8 +64,6 @@
#define KDMAJOR 1
#define PUT_WSIZE 64
-cdev_decl(kd); /* open, close, read, write, ioctl, stop, ... */
-
struct kd_softc {
struct device kd_dev; /* required first: base device */
struct tty *kd_tty;
diff --git a/sys/arch/sun3/dev/memerr.c b/sys/arch/sun3/dev/memerr.c
index 676aef73f96..212a1f16dd4 100644
--- a/sys/arch/sun3/dev/memerr.c
+++ b/sys/arch/sun3/dev/memerr.c
@@ -198,6 +198,9 @@ memerr_interrupt(arg)
*/
if (sc->sc_type == ME_PAR) {
if (csr & ME_PAR_EMASK) {
+ /* true for Sun3/60, probably some others too */
+ printf("probably should replace SIMM %d\n",
+ pa / 1048576 + 1);
/* Parity errors are fatal. */
goto die;
}
diff --git a/sys/arch/sun3/sun3/conf.c b/sys/arch/sun3/sun3/conf.c
index 5dce4bfc940..c95f1100f90 100644
--- a/sys/arch/sun3/sun3/conf.c
+++ b/sys/arch/sun3/sun3/conf.c
@@ -52,6 +52,7 @@ int ttselect __P((dev_t, int, struct proc *));
#include "ccd.h"
#include "cd.h"
#include "kbd.h"
+#include "ms.h"
#include "pty.h"
#include "rd.h"
#include "sd.h"