Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c match atmel,24c16



details:   https://anonhg.NetBSD.org/src/rev/d97d3815295d
branches:  trunk
changeset: 827224:d97d3815295d
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Oct 21 03:17:09 2017 +0000

description:
match atmel,24c16

diffstat:

 sys/dev/i2c/at24cxx.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 49df9e04829a -r d97d3815295d sys/dev/i2c/at24cxx.c
--- a/sys/dev/i2c/at24cxx.c     Sat Oct 21 02:21:30 2017 +0000
+++ b/sys/dev/i2c/at24cxx.c     Sat Oct 21 03:17:09 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: at24cxx.c,v 1.23 2016/09/10 13:16:12 jakllsch Exp $    */
+/*     $NetBSD: at24cxx.c,v 1.24 2017/10/21 03:17:09 jmcneill Exp $    */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at24cxx.c,v 1.23 2016/09/10 13:16:12 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at24cxx.c,v 1.24 2017/10/21 03:17:09 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -114,6 +114,7 @@
        "i2c-at24c64",
        "i2c-at34c02",
        "atmel,24c02",
+       "atmel,24c16",
        NULL
 };
 
@@ -122,6 +123,7 @@
        int size;
 } seeprom_sizes[] = {
        { "atmel,24c02", 256 },
+       { "atmel,24c16", 2048 },
 };
 
 static int



Home | Main Index | Thread Index | Old Index