summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/include
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-07-03 08:17:21 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-07-03 08:17:21 +0000
commit6e003c4791f24f0e4b5fccb13c9bea07c9babb72 (patch)
treee309fd358e2b686d75b0d1c7410414e13f06e71e /sys/arch/octeon/include
parent22d70a15bff46b788f7d0b17675654aeed1cbcea (diff)
Attach com(4) using fdt on octeon.
The relevant part of uartbus(4) is made part of the com(4) glue to avoid extra maneuvers in the code.
Diffstat (limited to 'sys/arch/octeon/include')
-rw-r--r--sys/arch/octeon/include/autoconf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/octeon/include/autoconf.h b/sys/arch/octeon/include/autoconf.h
index 63919f2770a..b934eae1943 100644
--- a/sys/arch/octeon/include/autoconf.h
+++ b/sys/arch/octeon/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.2 2017/04/07 13:30:43 visa Exp $ */
+/* $OpenBSD: autoconf.h,v 1.3 2017/07/03 08:17:20 visa Exp $ */
/*
* Copyright (c) 2001-2003 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -45,6 +45,8 @@ extern enum devclass bootdev_class;
#include <mips64/autoconf.h>
+void com_fdt_init_cons(void);
+
extern unsigned int octeon_ver;
#define OCTEON_1 0
#define OCTEON_PLUS 1