Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/i2c add another matchstring for the ds1307 found in ...



details:   https://anonhg.NetBSD.org/src/rev/4bf346fe4232
branches:  trunk
changeset: 454839:4bf346fe4232
user:      macallan <macallan%NetBSD.org@localhost>
date:      Sun Sep 29 05:28:21 2019 +0000

description:
add another matchstring for the ds1307 found in Sun Fire V210 ( and probably
V240 )

diffstat:

 sys/dev/i2c/ds1307.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 7b1e704bee45 -r 4bf346fe4232 sys/dev/i2c/ds1307.c
--- a/sys/dev/i2c/ds1307.c      Sun Sep 29 02:49:59 2019 +0000
+++ b/sys/dev/i2c/ds1307.c      Sun Sep 29 05:28:21 2019 +0000
@@ -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 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 },



Home | Main Index | Thread Index | Old Index