summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-27 06:15:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-27 06:15:25 +0000
commitdf0bd29b7af30610d2c4418e290933bda17e7494 (patch)
tree9f97ed07e0fca42209ca00043b23f9cb7f80b01b /sys/arch
parent85dbe7ca610ea8b756d4a3368612571b4867502a (diff)
put com(4) at cdevsw 26
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/macppc/conf.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/arch/macppc/macppc/conf.c b/sys/arch/macppc/macppc/conf.c
index 79b05219f7f..e237b6d7495 100644
--- a/sys/arch/macppc/macppc/conf.c
+++ b/sys/arch/macppc/macppc/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.27 2005/11/16 03:43:40 deraadt Exp $ */
+/* $OpenBSD: conf.c,v 1.28 2006/03/27 06:15:24 deraadt Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -95,6 +95,9 @@ cdev_decl(ofrtc);
cdev_decl(kbd);
cdev_decl(ms);
+#include "com.h"
+cdev_decl(com);
+
#include "wsdisplay.h"
#include "wskbd.h"
#include "wsmouse.h"
@@ -173,8 +176,8 @@ struct cdevsw cdevsw[] = {
cdev_bpftun_init(NBPFILTER,bpf),/* 22: berkeley packet filter */
cdev_bpftun_init(NTUN,tun), /* 23: network tunnel */
cdev_lkm_init(NLKM,lkm), /* 24: loadable module driver */
- cdev_apm_init(NAPM,apm), /* 25: APM interface */
- cdev_notdef(), /* 26 */
+ cdev_apm_init(NAPM,apm), /* 25: APM interface */
+ cdev_tty_init(NCOM,com), /* 26: Serial Ports via com(4) */
cdev_notdef(), /* 27 */
cdev_notdef(), /* 28 */
cdev_notdef(), /* 29 */
@@ -341,6 +344,7 @@ int nchrtoblktbl = sizeof(chrtoblktbl) / sizeof(chrtoblktbl[0]);
cons_decl(ws);
cons_decl(zs);
cons_decl(ofc);
+cons_decl(com);
struct consdev constab[] = {
#if NWSDISPLAY > 0