summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-07-29 02:50:18 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-07-29 02:50:18 +0000
commitc8230b4a2770b067b3ad9762f5124b18d5db837c (patch)
tree1d12fb6aa2ca689d720a204138a21d93872a8d62
parent01c05aa54cd6b0296ee00943acee44bd6949f051 (diff)
There is no RTC on the E300 boards.
-rw-r--r--sys/arch/octeon/dev/octrtc.c3
-rw-r--r--sys/arch/octeon/include/octeonvar.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/octrtc.c b/sys/arch/octeon/dev/octrtc.c
index be044d55543..804cbbba7c7 100644
--- a/sys/arch/octeon/dev/octrtc.c
+++ b/sys/arch/octeon/dev/octrtc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octrtc.c,v 1.7 2017/07/29 02:42:56 visa Exp $ */
+/* $OpenBSD: octrtc.c,v 1.8 2017/07/29 02:50:17 visa Exp $ */
/*
* Copyright (c) 2013, 2014 Paul Irofti.
@@ -78,6 +78,7 @@ union mio_tws_sw_twsi_reg {
static const uint16_t no_rtc_boards[] = {
BOARD_TYPE_UBIQUITI_E100,
BOARD_TYPE_UBIQUITI_E200,
+ BOARD_TYPE_UBIQUITI_E300,
BOARD_TYPE_UBIQUITI_E1000,
BOARD_TYPE_RHINOLABS_SHASTA
};
diff --git a/sys/arch/octeon/include/octeonvar.h b/sys/arch/octeon/include/octeonvar.h
index f65360770c6..1b5e5e6db43 100644
--- a/sys/arch/octeon/include/octeonvar.h
+++ b/sys/arch/octeon/include/octeonvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: octeonvar.h,v 1.34 2017/06/19 13:45:22 visa Exp $ */
+/* $OpenBSD: octeonvar.h,v 1.35 2017/07/29 02:50:17 visa Exp $ */
/* $NetBSD: maltavar.h,v 1.3 2002/03/18 10:10:16 simonb Exp $ */
/*-
@@ -184,6 +184,7 @@ struct octeon_fau_map {
#define BOARD_TYPE_UBIQUITI_E1000 20010
#define BOARD_TYPE_RHINOLABS_SHASTA 20012
#define BOARD_TYPE_DSR_500 20015
+#define BOARD_TYPE_UBIQUITI_E300 20300
#if defined(_KERNEL) || defined(_STANDALONE)
#define OCTEON_ARGV_MAX 64