summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormacallan <macallan@NetBSD.org>2019-09-29 05:28:21 +0000
committermacallan <macallan@NetBSD.org>2019-09-29 05:28:21 +0000
commitffe1bd92ed95dcd7d6897024616124a615a23505 (patch)
treee3419c41b00371590fa6baa5be8761ff738cd6d9 /sys/dev
parent772c62edce01bd887d1bab9414d054dd309b885e (diff)
add another matchstring for the ds1307 found in Sun Fire V210 ( and probably
V240 )
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/ds1307.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/i2c/ds1307.c b/sys/dev/i2c/ds1307.c
index 381e2eb42d7..c11108aeae5 100644
--- a/sys/dev/i2c/ds1307.c
+++ b/sys/dev/i2c/ds1307.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ds1307.c,v 1.31 2018/12/20 21:36:53 macallan Exp $ */
+/* $NetBSD: ds1307.c,v 1.32 2019/09/29 05:28:21 macallan Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ds1307.c,v 1.31 2018/12/20 21:36:53 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ds1307.c,v 1.32 2019/09/29 05:28:21 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -159,6 +159,7 @@ static const struct dsrtc_model mcp7940_model = {
static const struct device_compatible_entry compat_data[] = {
{ "dallas,ds1307", (uintptr_t)&ds1307_model },
{ "maxim,ds1307", (uintptr_t)&ds1307_model },
+ { "i2c-ds1307", (uintptr_t)&ds1307_model },
{ "dallas,ds1339", (uintptr_t)&ds1339_model },
{ "maxim,ds1339", (uintptr_t)&ds1339_model },