[patch] 2.1.108b vesafb broken

Jakob Borg (jb@k2.lund.se)
Fri, 10 Jul 1998 17:16:49 +0200


When using VESA_FB the kernel won't link. init/main.c wants a function
no_scroll from drivers/video/vgacon.c. Since this file is only
compiled when CONFIG_VGA_CONSOLE is set this patch should be correct:

--- linux/init/main.c.orig Fri Jul 10 17:01:15 1998
+++ linux/init/main.c Fri Jul 10 17:03:34 1998
@@ -88,7 +88,9 @@
#ifdef __i386__
extern void ioapic_pirq_setup(char *str, int *ints);
#endif
+#ifdef CONFIG_VGA_CONSOLE
extern void no_scroll(char *str, int *ints);
+#endif
extern void kbd_reset_setup(char *str, int *ints);
extern void panic_setup(char *str, int *ints);
extern void bmouse_setup(char *str, int *ints);
@@ -536,7 +538,9 @@
{ "panic=", panic_setup },
{ "console=", console_setup },
#ifdef CONFIG_VT
+#ifdef CONFIG_VGA_CONSOLE
{ "no-scroll", no_scroll },
+#endif
{ "kbd-reset", kbd_reset_setup },
#endif
#ifdef CONFIG_BUGi386

Or is this the Wrong Way?

-- 
Jakob Borg <jb@k2.lund.se>
[Linux narayan 2.1.108 i586]

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html