Re: [Linux-fbdev-devel] RFC: disallow modular framebuffers
From: Antonino A. Daplas
Date: Tue Mar 01 2005 - 07:51:06 EST
On Tuesday 01 March 2005 10:41, Adrian Bunk wrote:
> while looking how to fix modular FB_SAVAGE_* (both FB_SAVAGE_I2C=m and
> FB_SAVAGE_ACCEL=m are currently broken) I asked myself:
> Do modular framebuffers really make sense?
> OK, distributions like to make everything modular, but all the
> framebuffer drivers I've looked at parse driver specific options in
> their *_setup function only in the non-modular case.
> And most framebuffer drivers contain a module_exit function.
> Is there really any case where this is both reasonable and working?
Only a few drivers are capable of being unloaded with the possiblity of
restoring the vga console (i810fb and rivafb), when CONFIG_FBCON = n.
If CONFIG_FBCON=y, it's not possible to unload the module unless 2 drivers
are loaded at the same time. One driver can be mapped to the console, so the
other can be unloaded. Although not important from the user's POV, it is
quite helpful when debugging/developing drivers.
Currently fbcon cannot be unloaded, it will freeze the system.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/