Module Name: src Committed By: macallan Date: Wed Aug 11 19:14:26 UTC 2010
Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: look for DDC data in both EDID and edid properties so we can use firmware provided data on my XVR-100 To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176 src/sys/arch/sparc64/sparc64/autoconf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sparc64/sparc64/autoconf.c diff -u src/sys/arch/sparc64/sparc64/autoconf.c:1.175 src/sys/arch/sparc64/sparc64/autoconf.c:1.176 --- src/sys/arch/sparc64/sparc64/autoconf.c:1.175 Sun Apr 4 23:38:55 2010 +++ src/sys/arch/sparc64/sparc64/autoconf.c Wed Aug 11 19:14:26 2010 @@ -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) {