On Sat, Jan 20, 2007 at 06:33:35PM +0000, TJ wrote: > I've been investigating this issue on two notebooks that have i815 > chipsets, with Ubuntu Edgy 6.10 (2.6.17-10). > > The reason i810fb (and most other framebuffers) isn't available at > boot-time when compiled as a module is that the framebuffer drivers > have to call drivers/video/fbmem.c's fb_get_options() function, but > when built as a module the code to make that call and parse the > command-line isn't compiled in drivers/video/i810/i810_main.c: > > #ifndef MODULE > static int __devinit i810fb_init(void) > { > char *option = NULL; > > if (fb_get_options("i810fb", &option)) > return -ENODEV; > i810fb_setup(option); > > return pci_register_driver(&i810fb_driver); > } > #endif > > I looked at the source for several other XXXXfb drivers and they all > have the same structure.
The argument handling is done differently for the modular case; elsewhere in the file you'll find module_param macros for that purpose. -- - mdz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]