summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-06-19 13:45:23 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-06-19 13:45:23 +0000
commit446023daaf50acef493a19ed4e3fa628f39fcc9b (patch)
treec722e7308764468e16fff570228d338726760bd3 /sys/arch
parentc7160281ab28dc7d57a4fd5e2aaf2360719edde5 (diff)
There is no RTC on the E1000 board.
Diffstat (limited to 'sys/arch')
-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 8dd090abf8c..0a310c62c56 100644
--- a/sys/arch/octeon/dev/octrtc.c
+++ b/sys/arch/octeon/dev/octrtc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octrtc.c,v 1.5 2016/12/17 13:13:57 visa Exp $ */
+/* $OpenBSD: octrtc.c,v 1.6 2017/06/19 13:45:22 visa Exp $ */
/*
* Copyright (c) 2013, 2014 Paul Irofti.
@@ -86,6 +86,7 @@ octrtc_match(struct device *parent, void *match, void *aux)
/* No RTC on Ubiquiti */
if ((octeon_boot_info->board_type == BOARD_TYPE_UBIQUITI_E100) ||
(octeon_boot_info->board_type == BOARD_TYPE_UBIQUITI_E200) ||
+ (octeon_boot_info->board_type == BOARD_TYPE_UBIQUITI_E1000) ||
(octeon_boot_info->board_type == BOARD_TYPE_RHINOLABS_SHASTA))
return 0;
return 1;
diff --git a/sys/arch/octeon/include/octeonvar.h b/sys/arch/octeon/include/octeonvar.h
index 2fed2082f4c..f65360770c6 100644
--- a/sys/arch/octeon/include/octeonvar.h
+++ b/sys/arch/octeon/include/octeonvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: octeonvar.h,v 1.33 2016/12/17 13:13:57 visa Exp $ */
+/* $OpenBSD: octeonvar.h,v 1.34 2017/06/19 13:45:22 visa Exp $ */
/* $NetBSD: maltavar.h,v 1.3 2002/03/18 10:10:16 simonb Exp $ */
/*-
@@ -181,6 +181,7 @@ struct octeon_fau_map {
#define BOARD_TYPE_CN3010_EVB_HS5 11
#define BOARD_TYPE_UBIQUITI_E100 20002
#define BOARD_TYPE_UBIQUITI_E200 20003
+#define BOARD_TYPE_UBIQUITI_E1000 20010
#define BOARD_TYPE_RHINOLABS_SHASTA 20012
#define BOARD_TYPE_DSR_500 20015