From d0e4b647eedc8da2e8f1634e1052b8c50906fb2d Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Sun, 28 Oct 2001 03:15:00 +0000 Subject: duh, don't forget cdev entries for char device sabtty (It's been a rough week) --- sys/arch/sparc64/include/conf.h | 4 +++- sys/arch/sparc64/sparc64/conf.c | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'sys/arch') 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 */ -- cgit v1.2.3