Module Name: src
Committed By: macallan
Date: Sun Sep 29 05:28:21 UTC 2019
Modified Files:
src/sys/dev/i2c: ds1307.c
Log Message:
add another matchstring for the ds1307 found in Sun Fire V210 ( and probably
V240 )
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/i2c/ds1307.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/i2c/ds1307.c
diff -u src/sys/dev/i2c/ds1307.c:1.31 src/sys/dev/i2c/ds1307.c:1.32
--- src/sys/dev/i2c/ds1307.c:1.31 Thu Dec 20 21:36:53 2018
+++ src/sys/dev/i2c/ds1307.c Sun Sep 29 05:28:21 2019
@@ -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_
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 },