Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/dev also attach for su16552 compatible devi...
details: https://anonhg.NetBSD.org/src/rev/e185d1d95cde
branches: trunk
changeset: 763259:e185d1d95cde
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Mar 15 11:22:18 2011 +0000
description:
also attach for su16552 compatible devices.
diffstat:
sys/arch/sparc64/dev/com_ebus.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 017dd55e5273 -r e185d1d95cde sys/arch/sparc64/dev/com_ebus.c
--- a/sys/arch/sparc64/dev/com_ebus.c Tue Mar 15 11:21:04 2011 +0000
+++ b/sys/arch/sparc64/dev/com_ebus.c Tue Mar 15 11:22:18 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com_ebus.c,v 1.30 2010/01/03 17:02:03 jdc Exp $ */
+/* $NetBSD: com_ebus.c,v 1.31 2011/03/15 11:22:18 mrg Exp $ */
/*
* Copyright (c) 1999, 2000 Matthew R. Green
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com_ebus.c,v 1.30 2010/01/03 17:02:03 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com_ebus.c,v 1.31 2011/03/15 11:22:18 mrg Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -83,6 +83,7 @@
/* Could be anything. */
compat = prom_getpropstring(ea->ea_node, "compatible");
if (strcmp(compat, "su16550") == 0 ||
+ strcmp(compat, "su16552") == 0 ||
strcmp(compat, "su") == 0) {
return (1);
}
Home |
Main Index |
Thread Index |
Old Index