purposed changed to framebuffer_alloc

From: James Simmons <hidden>
Date: 2005-06-28 00:07:18

Hi!

	I like to purpose a change to framebuffer_alloc to support card 
with more than one framebuffer on board. Currently we have

struct fb_info *framebuffers_alloc(size_t size, struct device *dev)

I purpose to change it to 

struct fb_info **framebuffers_alloc(int num_framebuffers, size_t size, struct device *dev)

I was also thinking of creating a list of struct fb_info. The reason for 
this is so framebuffers_alloc can allocate the memory we need for all 
framebuffer devices and the hardware par. Then we can fill in the par and 
dev for struct fb_info for each framebuffer device in one call.

What do you think?




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help