summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k/stand/boot/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/luna88k/stand/boot/conf.c')
-rw-r--r--sys/arch/luna88k/stand/boot/conf.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/arch/luna88k/stand/boot/conf.c b/sys/arch/luna88k/stand/boot/conf.c
index 8fdf488d7af..aaa41d3b17c 100644
--- a/sys/arch/luna88k/stand/boot/conf.c
+++ b/sys/arch/luna88k/stand/boot/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.1 2013/10/28 22:13:12 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.2 2013/10/29 22:13:28 miod Exp $ */
/* $NetBSD: conf.c,v 1.3 2013/01/16 15:46:20 tsutsui Exp $ */
/*
@@ -35,6 +35,8 @@
#include <sys/param.h>
#include <sys/socket.h>
+#include <dev/cons.h>
+
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
@@ -110,3 +112,15 @@ struct fs_ops file_system_nfs[] = { FS_OPS(nfs) };
#define MAX_NFSYS 5
struct fs_ops file_system[MAX_NFSYS];
int nfsys = 1; /* we always know which one we want */
+
+/*
+ * Console configuration
+ */
+
+struct consdev constab[] = {
+ { bmccnprobe, bmccninit, bmccngetc, bmccnputc },
+ { siocnprobe, siocninit, siocngetc, siocnputc },
+ { 0 },
+};
+
+struct consdev *cn_tab;