diff options
author | kettenis <kettenis@openbsd.org> | 2020-06-22 21:13:40 +0000 |
---|---|---|
committer | kettenis <kettenis@openbsd.org> | 2020-06-22 21:13:40 +0000 |
commit | 9cff15ef82ea860b6c29be0e577000460a15a956 (patch) | |
tree | 0ab2d40ea7f1812e7e7f6a2b7deb27ce61b3532f /sys/arch/powerpc64/powerpc64/conf.c | |
parent | The minimum frame size for the ELFv2 ABI is 32 bytes. Using this value (diff) | |
download | wireguard-openbsd-9cff15ef82ea860b6c29be0e577000460a15a956.tar.xz wireguard-openbsd-9cff15ef82ea860b6c29be0e577000460a15a956.zip |
Add opalcons(4), a driver for the OPAL console.
Diffstat (limited to '')
-rw-r--r-- | sys/arch/powerpc64/powerpc64/conf.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |