Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 look for DDC data in both EDID and ...
details: https://anonhg.NetBSD.org/src/rev/e2685ff4c9d4
branches: trunk
changeset: 757052:e2685ff4c9d4
user: macallan <macallan%NetBSD.org@localhost>
date: Wed Aug 11 19:14:26 2010 +0000
description:
look for DDC data in both EDID and edid properties so we can use firmware
provided data on my XVR-100
diffstat:
sys/arch/sparc64/sparc64/autoconf.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r a6e96e6ed3f3 -r e2685ff4c9d4 sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c Wed Aug 11 18:46:32 2010 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c Wed Aug 11 19:14:26 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.175 2010/04/04 23:38:55 nakayama Exp $ */
+/* $NetBSD: autoconf.c,v 1.176 2010/08/11 19:14:26 macallan Exp $ */
/*
* Copyright (c) 1996
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.175 2010/04/04 23:38:55 nakayama Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.176 2010/08/11 19:14:26 macallan Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -1150,7 +1150,8 @@
fboffset = (uint32_t)(fbpa - mem_base);
prop_dictionary_set_uint32(dict, "address", fboffset);
}
- of_to_dataprop(dict, console_node, "EDID", "EDID");
+ if (!of_to_dataprop(dict, console_node, "EDID", "EDID"))
+ of_to_dataprop(dict, console_node, "edid", "EDID");
temp = 0;
if (OF_getprop(console_node, "ATY,RefCLK", &temp, sizeof(temp)) != 4) {
Home |
Main Index |
Thread Index |
Old Index