qubes-linux-kernel/patches.arch/ppc-pegasos-console-autodetection.patch

20 lines
558 B
Diff
Raw Normal View History

From: olh@suse.de
Subject: force speed to fix autodetection on pegasos2
Patch-mainline: never
---
arch/powerpc/platforms/chrp/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/powerpc/platforms/chrp/setup.c
+++ b/arch/powerpc/platforms/chrp/setup.c
@@ -294,7 +294,7 @@ static void chrp_init_early(void)
if (!property)
goto out_put;
if (!strcmp(property, "failsafe") || !strcmp(property, "serial"))
- add_preferred_console("ttyS", 0, NULL);
+ add_preferred_console("ttyS", 0, "115200");
out_put:
of_node_put(node);
}