lkml.org 
[lkml]   [2001]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LANANA: To Pending Device Number Registrants

> > I would use write except we use write to draw into the framebuffer. If I
> > write to the framebuffer with that data the only thing that will happen is
> > I will get pretty colors on my screen.
>
> Yes. And we also use write to send data to printer. So what? Nobody makes
> you use the same file.

Well creating a new device wouldn't make linus happen right now. I do
agree ioctl calls are evil!!!! You only have X amount of them. With write
you can have infinte amounts of different functions to perform on a
device. I didn't design fbdev :-( If I did it would have been far
different. I do plan on some day merging drm and fbdev into one interface. So
I plan to change this behavior. I like to see this interface ioctl-less
(is their such a word ???). You mmap to alter buffers. Mmap is much more
flexiable than write for graphics buffers anyways. You use write to pass
"data" to the driver.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.161 / U:20.580 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site