Module Name: src
Committed By: jmcneill
Date: Sun Oct 27 19:10:38 UTC 2019
Modified Files:
src/sys/dev/i2c: at24cxx.c
Log Message:
Add atmel,24c256 compat data
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 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.31 src/sys/dev/i2c/at24cxx.c:1.32
--- src/sys/dev/i2c/at24cxx.c:1.31 Tue Mar 26 09:22:17 2019
+++ src/sys/dev/i2c/at24cxx.c Sun Oct 27 19:10:38 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: at24cxx.c,v 1.31 2019/03/26 09:22:17 mlelstv Exp $ */
+/* $NetBSD: at24cxx.c,v 1.32 2019/10/27 19:10:38 jmcneill Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at24cxx.c,v 1.31 2019/03/26 09:22:17 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at24cxx.c,v 1.32 2019/10/27 19:10:38 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -125,6 +125,7 @@ static const struct device_compatible_en
{ "i2c-at34c02", 256 },
{ "atmel,24c02", 256 },
{ "atmel,24c16", 2048 },
+ { "atmel,24c256", 32768 },
{ NULL, 0 }
};