Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Add "dimm" found on Sun US-IIe based machines (e...



details:   https://anonhg.NetBSD.org/src/rev/e865ad9b48a1
branches:  trunk
changeset: 772951:e865ad9b48a1
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Sun Jan 22 10:36:52 2012 +0000

description:
Add "dimm" found on Sun US-IIe based machines (eg. Netra X1, Blade 100).

diffstat:

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

diffs (28 lines):

diff -r d0e1c100d7a1 -r e865ad9b48a1 sys/dev/i2c/spdmem_i2c.c
--- a/sys/dev/i2c/spdmem_i2c.c  Sun Jan 22 10:32:35 2012 +0000
+++ b/sys/dev/i2c/spdmem_i2c.c  Sun Jan 22 10:36:52 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spdmem_i2c.c,v 1.3 2011/10/02 19:03:56 jmcneill Exp $ */
+/* $NetBSD: spdmem_i2c.c,v 1.4 2012/01/22 10:36:52 nakayama Exp $ */
 
 /*
  * Copyright (c) 2007 Nicolas Joly
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spdmem_i2c.c,v 1.3 2011/10/02 19:03:56 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spdmem_i2c.c,v 1.4 2012/01/22 10:36:52 nakayama Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -77,7 +77,8 @@
 
        if (ia->ia_name) {
                /* add other names as we find more firmware variations */
-               if (strcmp(ia->ia_name, "dimm-spd"))
+               if (strcmp(ia->ia_name, "dimm-spd") &&
+                   strcmp(ia->ia_name, "dimm"))
                        return 0;
        }
 



Home | Main Index | Thread Index | Old Index