From: Geert U. <ge...@li...> - 2001-06-16 14:27:16
|
Hi Caleb, > Do I need to put something in /etc/modules.conf to get the vfb device > working? If so, what? Ah, now I see what's the problem: vfb_enable is always 0 and you cannot enable it when vfb is built modular. Please try this patch: --- linux-2.4.6-pre3/drivers/video/vfb.c.orig Mon Feb 19 10:37:01 2001 +++ linux-2.4.6-pre3/drivers/video/vfb.c Sat Jun 16 16:25:48 2001 @@ -68,8 +68,6 @@ 0, FB_VMODE_NONINTERLACED }; -static int vfb_enable = 0; /* disabled by default */ - /* * Interface used by the world @@ -371,6 +369,9 @@ } +#ifndef MODULE +static int vfb_enable = 0; /* disabled by default */ + int __init vfb_setup(char *options) { char *this_opt; @@ -389,6 +390,7 @@ } return 0; } +#endif /* @@ -397,8 +399,10 @@ int __init vfb_init(void) { +#ifndef MODULE if (!vfb_enable) return -ENXIO; +#endif if (!(videomemory = (u_long)vmalloc(videomemorysize))) return -ENOMEM; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |