summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/powerpc/ofw/ofw_syscons.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/powerpc/ofw/ofw_syscons.c b/sys/powerpc/ofw/ofw_syscons.c
index 92e109b..0820d73 100644
--- a/sys/powerpc/ofw/ofw_syscons.c
+++ b/sys/powerpc/ofw/ofw_syscons.c
@@ -940,6 +940,12 @@ ofwfb_scidentify(driver_t *driver, device_t parent)
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
*/
OpenPOWER on IntegriCloud