Re: Re: [PATCH] kyrofb support
From: James Simmons <hidden>
Date: 2004-01-15 00:34:14
On Tue, 13 Jan 2004, Paul Mundt wrote:quoted
On Tue, Jan 13, 2004 at 06:09:26PM -0800, Andrew Morton wrote:quoted
In general, what are the fbdev drivers doing here btw? It's very strange that some core file (fbmem.c) has to "know" about individual card drivers. It should be sufficient for the driver to just register itself with the core at the drivers's module_init() time.This is done for device ordering as far as I recall. Devices listed first on the command line are numbered first, with the rest coming up in the order that they're listed in fb_drivers[].Indeed. It's there so people can choose which is their primary display, if they have multiple cards.
Also cards that lack proper resource management can be initalized last. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html