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 "i2c-at34c02", found in various sparc64 boxes



details:   https://anonhg.NetBSD.org/src/rev/668cdb9360a1
branches:  trunk
changeset: 445263:668cdb9360a1
user:      macallan <macallan%NetBSD.org@localhost>
date:      Sat Oct 20 03:23:05 2018 +0000

description:
match "i2c-at34c02", found in various sparc64 boxes

diffstat:

 sys/dev/i2c/spdmem_i2c.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 5e9fa0aa4c4c -r 668cdb9360a1 sys/dev/i2c/spdmem_i2c.c
--- a/sys/dev/i2c/spdmem_i2c.c  Sat Oct 20 02:30:43 2018 +0000
+++ b/sys/dev/i2c/spdmem_i2c.c  Sat Oct 20 03:23:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spdmem_i2c.c,v 1.16 2018/09/26 20:15:08 jakllsch Exp $ */
+/* $NetBSD: spdmem_i2c.c,v 1.17 2018/10/20 03:23:05 macallan Exp $ */
 
 /*
  * Copyright (c) 2007 Nicolas Joly
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spdmem_i2c.c,v 1.16 2018/09/26 20:15:08 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spdmem_i2c.c,v 1.17 2018/10/20 03:23:05 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -173,8 +173,9 @@
 }
 
 static const struct device_compatible_entry compat_data[] = {
-       { "atmel,spd",  0 },
-       { NULL,         0 }
+       { "atmel,spd",   0 },
+       { "i2c-at34c02", 0 },
+       { NULL,          0 }
 };
 
 static int



Home | Main Index | Thread Index | Old Index