On Sun, 4 Feb 2007, Juergen Beisert wrote:
> sorry, here comes an additional question about the fb framework:
> I'm confused about the fb_ioctl entry in the fb_ops structure. When I want to
> add my own driver specific IOCTLs, how to do it? If I setup my own function
> into the fb_ioctl entry, does it _add_ my IOCTLs to the existing ones or does
> it replace framework's IOCTLs (so my function must also handle the existing
> ones)? Or does the framework calls my private IOCTL handler via fb_ioctl if
> an unknown IOCTL enters the existing IOCTL handler?
It adds you ioctls, by calling your fb_ioctl() if an unknown ioctl enters the
existing ioctl handler (cfr. drivers/video/fbmem.c:fb_ioctl()).
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds