Module Name: src Committed By: jmcneill Date: Sat Oct 21 03:17:09 UTC 2017
Modified Files: src/sys/dev/i2c: at24cxx.c Log Message: match atmel,24c16 To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/i2c/at24cxx.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/at24cxx.c diff -u src/sys/dev/i2c/at24cxx.c:1.23 src/sys/dev/i2c/at24cxx.c:1.24 --- src/sys/dev/i2c/at24cxx.c:1.23 Sat Sep 10 13:16:12 2016 +++ src/sys/dev/i2c/at24cxx.c Sat Oct 21 03:17:09 2017 @@ -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 @@ static const char * seeprom_compats[] = "i2c-at24c64", "i2c-at34c02", "atmel,24c02", + "atmel,24c16", NULL }; @@ -122,6 +123,7 @@ static const struct seeprom_size { int size; } seeprom_sizes[] = { { "atmel,24c02", 256 }, + { "atmel,24c16", 2048 }, }; static int