Module Name: src Committed By: mrg Date: Wed Oct 19 08:18:38 UTC 2016
Modified Files: src/sys/arch/evbarm/beagle: beagle_machdep.c Log Message: apply some #if defined(TI_AM335X) so this builds again. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/arch/evbarm/beagle/beagle_machdep.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/evbarm/beagle/beagle_machdep.c diff -u src/sys/arch/evbarm/beagle/beagle_machdep.c:1.66 src/sys/arch/evbarm/beagle/beagle_machdep.c:1.67 --- src/sys/arch/evbarm/beagle/beagle_machdep.c:1.66 Tue Oct 18 15:10:35 2016 +++ src/sys/arch/evbarm/beagle/beagle_machdep.c Wed Oct 19 08:18:38 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: beagle_machdep.c,v 1.66 2016/10/18 15:10:35 kiyohara Exp $ */ +/* $NetBSD: beagle_machdep.c,v 1.67 2016/10/19 08:18:38 mrg Exp $ */ /* * Machine dependent functions for kernel setup for TI OSK5912 board. @@ -125,7 +125,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.66 2016/10/18 15:10:35 kiyohara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.67 2016/10/19 08:18:38 mrg Exp $"); #include "opt_machdep.h" #include "opt_ddb.h" @@ -1104,6 +1104,7 @@ beagle_device_register(device_t self, vo prop_dictionary_set_bool(dict, "is_console", true); return; } +#if defined(TI_AM335X) if (device_is_a(self, "tifb")) { static const struct tifb_panel_info default_panel_info = { .panel_tft = 1, @@ -1142,6 +1143,7 @@ beagle_device_register(device_t self, vo prop_dictionary_set_bool(dict, "is_console", true); return; } +#endif if (device_is_a(self, "com")) { if (use_fb_console) prop_dictionary_set_bool(dict, "is_console", false);