Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Wed, 09 Sep 1998 13:39:49 +0000

Re: fbset error with KGI-framebuffer

Andrew Apted wrote:
> 
> Marcus writes:
> 
> >  Andrew Apted wrote:
> >  > ENOENT means "KGI driver cannot do the mode",
> >
> >  No it doesn't. ENOENT means "No such file or directory", and it's
> >  pretty stupid to return it in this case.
> >  I've changed it to the more apropriate EINVAL.
> 
> I used it because there was no EMODENOTSUPPORTED in errno.h :-)   Now we
> won't know who refused the mode (fbcon-kgi.c or the KGI driver) :-(

Well, just put a DEBUG() macro statement in there. What part of the
driver that refused a mode is hardly interresting to anyone else
than us fbcon/driver developers.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]