Author: adrian Date: Tue Aug 21 06:33:10 2012 New Revision: 239479 URL: http://svn.freebsd.org/changeset/base/239479
Log: Don't probe the openfirmware framebuffer if the system is a Wii or it will crash. Submitted by: Margarida Gouveia Modified: head/sys/powerpc/ofw/ofw_syscons.c Modified: head/sys/powerpc/ofw/ofw_syscons.c ============================================================================== --- head/sys/powerpc/ofw/ofw_syscons.c Tue Aug 21 06:31:26 2012 (r239478) +++ head/sys/powerpc/ofw/ofw_syscons.c Tue Aug 21 06:33:10 2012 (r239479) @@ -940,6 +940,12 @@ ofwfb_scidentify(driver_t *driver, devic device_t child; /* + * The Nintendo Wii doesn't have open firmware, so don't probe ofwfb + * because otherwise we will crash. + */ + if (strcmp(installed_platform(), "wii") == 0) + return; + /* * Add with a priority guaranteed to make it last on * the device list */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"