Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/dev Match adm1030 too in dbcool_ki2c_match.
details: https://anonhg.NetBSD.org/src/rev/a667946d833b
branches: trunk
changeset: 771999:a667946d833b
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Dec 13 08:16:40 2011 +0000
description:
Match adm1030 too in dbcool_ki2c_match.
PR port-macppc/41916: dbcool at ki2c should support adm1030
ok macallan
diffstat:
sys/arch/macppc/dev/dbcool_ki2c.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 269c3f654a09 -r a667946d833b sys/arch/macppc/dev/dbcool_ki2c.c
--- a/sys/arch/macppc/dev/dbcool_ki2c.c Tue Dec 13 08:00:36 2011 +0000
+++ b/sys/arch/macppc/dev/dbcool_ki2c.c Tue Dec 13 08:16:40 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dbcool_ki2c.c,v 1.7 2010/12/20 00:25:37 matt Exp $ */
+/* $NetBSD: dbcool_ki2c.c,v 1.8 2011/12/13 08:16:40 riastradh Exp $ */
/*-
* Copyright (C) 2005 Michael Lorenz
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dbcool_ki2c.c,v 1.7 2010/12/20 00:25:37 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dbcool_ki2c.c,v 1.8 2011/12/13 08:16:40 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -65,7 +65,8 @@
memset(compat, 0, sizeof(compat));
OF_getprop(ka->ka_node, "compatible", compat, sizeof(compat));
- if (strcmp(compat, "adt7467") != 0 && strcmp(compat, "adt7460") != 0)
+ if (strcmp(compat, "adt7467") != 0 && strcmp(compat, "adt7460") != 0 &&
+ strcmp(compat, "adm1030") != 0)
return 0;
return 1;
Home |
Main Index |
Thread Index |
Old Index