summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2017-10-21 03:17:09 +0000
committerjmcneill <jmcneill@NetBSD.org>2017-10-21 03:17:09 +0000
commit6c72954e9f4f37e55aa0f3155ff17d4e7090174b (patch)
tree75884d781acfd27fd8ae18453f9b2703a6f7e39f /sys/dev
parent20014a6332dc838eb444b9d903eff16fa65199f1 (diff)
match atmel,24c16
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/at24cxx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/i2c/at24cxx.c b/sys/dev/i2c/at24cxx.c
index c6fb2026c64..aa59a5a1f56 100644
--- a/sys/dev/i2c/at24cxx.c
+++ b/sys/dev/i2c/at24cxx.c
@@ -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