From 9cff15ef82ea860b6c29be0e577000460a15a956 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 22 Jun 2020 21:13:40 +0000 Subject: Add opalcons(4), a driver for the OPAL console. --- sys/arch/powerpc64/powerpc64/conf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/powerpc64/powerpc64/conf.c') diff --git a/sys/arch/powerpc64/powerpc64/conf.c b/sys/arch/powerpc64/powerpc64/conf.c index ffe7fff00a0..7b7edc1b836 100644 --- a/sys/arch/powerpc64/powerpc64/conf.c +++ b/sys/arch/powerpc64/powerpc64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.2 2020/06/07 09:34:20 kettenis Exp $ */ +/* $OpenBSD: conf.c,v 1.3 2020/06/22 21:13:40 kettenis Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -46,6 +46,7 @@ struct bdevsw bdevsw[] = int nblkdev = nitems(bdevsw); #include "pty.h" +#include "opalcons.h" struct cdevsw cdevsw[] = { @@ -57,6 +58,7 @@ struct cdevsw cdevsw[] = cdev_tty_init(NPTY,pts), /* 5: pseudo-tty slave */ cdev_ptc_init(NPTY,ptc), /* 6: pseudo-tty master */ cdev_ptm_init(NPTY,ptm), /* XX: pseudo-tty ptm device */ + cdev_tty_init(NOPALCONS,opalcons), /* XX: OPAL console */ }; int nchrdev = nitems(cdevsw); -- cgit v1.2.3-59-g8ed1b