summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-10-28 03:15:00 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-10-28 03:15:00 +0000
commitd0e4b647eedc8da2e8f1634e1052b8c50906fb2d (patch)
tree9958d91b27738c5d695c7a4fc0f2668fb1c1df3a /sys/arch
parentf058dd4830b0a18a89ba0b75f44697cb6bbde99a (diff)
duh, don't forget cdev entries for char device sabtty (It's been a rough week)
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/include/conf.h4
-rw-r--r--sys/arch/sparc64/sparc64/conf.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/conf.h b/sys/arch/sparc64/include/conf.h
index fe1c467d7c0..7fc1167862b 100644
--- a/sys/arch/sparc64/include/conf.h
+++ b/sys/arch/sparc64/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.3 2001/09/20 20:50:03 jason Exp $ */
+/* $OpenBSD: conf.h,v 1.4 2001/10/28 03:14:59 jason Exp $ */
/* $NetBSD: conf.h,v 1.9 2001/03/26 12:33:26 lukem Exp $ */
/*-
@@ -99,6 +99,8 @@ cdev_decl(scsibus);
bdev_decl(wd);
cdev_decl(wd);
+cdev_decl(sabtty);
+
cdev_decl(pcons);
cdev_decl(com);
diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c
index 67dfc613162..f501a870416 100644
--- a/sys/arch/sparc64/sparc64/conf.c
+++ b/sys/arch/sparc64/sparc64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.10 2001/09/28 02:53:14 mickey Exp $ */
+/* $OpenBSD: conf.c,v 1.11 2001/10/28 03:14:59 jason Exp $ */
/* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */
/*
@@ -87,6 +87,7 @@
#define NSUNMS 0
#endif
#include "zstty.h"
+#include "sab.h"
#include "pcons.h"
#include "com.h"
#ifdef notyet
@@ -241,7 +242,7 @@ struct cdevsw cdevsw[] =
cdev_altq_init(NALTQ,altq), /* 74: ALTQ control interface */
cdev_notdef(), /* 75 */
cdev_ksyms_init(NKSYMS,ksyms), /* 76 *: Kernel symbols device */
- cdev_notdef(), /* 77 */
+ cdev_tty_init(NSABTTY,sabtty), /* 77: sab82532 serial ports */
cdev_notdef(), /* 78 */
cdev_notdef(), /* 79 */
cdev_notdef(), /* 80 */