Date: Tue, 21 Aug 2012 06:33:10 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r239479 - head/sys/powerpc/ofw Message-ID: <201208210633.q7L6XAcu078961@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208210633.q7L6XAcu078961>