On 17 Feb 2000 [EMAIL PROTECTED] wrote:

> James A Simmons <[EMAIL PROTECTED]> wrote:
> > All of the ones in linux/drivers/video. I have the API in but know one
> > seems to understand the new API. I have written a FB-Driver-HOWTO. You can
> > read it from http://www.linux-fbdev.org. Note I wrote that when I first
> > developed the new API. I have made a few changes to the API since then. I
> > really need to update that HOWTO but the bulk of it is true. I sent out
> > email today explaining the new API. Its not easy changing a internal API. 
> 
>       I've got a project I need to finish up today, but I'll work on
> what I can. (I'm still really psyched about R. gooch getting devfs in!)

What has to be done is this. Most current fbdev drivers have a 

fb_info_xxx {
  
  struct fb_info info
  ....
  hardware dependent stuff
  ...
  [often this]
  fb_var_screeninfo var
  fb_fix_screeninfo fix 
}

What the new system is 

fb_info {
  var;         /* I place var, fix and cmap into fb_info. */
  fix;          
  cmap;
  par;         /* Hardware dependent */
} 

Damn I don't have the vfb.c.diff to show how to do it. Go to
http://www.linux-fbdev.org and go to the section that has the mailing list
archive. You will see my most recent patch against vfb.c. This is
basically what the new drivers will look like. Once this is in more
changes will occur but these changes are the first step. Look at fb.h
also. Read my howto at http://www.linux-fbdev.org. It gives you more
ideas. To see the final idea of what my patch will look like go to 
http://imperial.edgeglobal.com/~jsimmons and grab the linux-2.3.25-fb
patch. Take a look at it, especially vfb.c. 

P.S

  Sorry but I have to go. I will be gone for the weekend in San Jose. In
fact I'm leaving right now. I will be back monday. Jon you have my hotel
phone number right? My interview is at 1:00 PM. I should be done by 5 or
6. See you later.

Codito, ergo sum - "I code, therefore I am"
James Simmons                                                      (o_
fbdev/gfx developer                                      (o_  (o_ //\
http://www.linux-fbdev.org                              (/)_ (/)_ V_/_
http://linuxgfx.sourceforge.net

Reply via email to