Hi!
You would place it in drivers/video. If you look at the Config.in
file in the linux/drivers/video directory you will see
if [ "$CONFIG_PPC" = "y" ]; then
bool ' Open Firmware frame buffer device support' CONFIG_FB_OF
...
fi
Just add you driver in that section. Also you have to alter fbmem.c. You
need to add something like
extern int xxxmydriverfb_init(void);
extern int xxxmydriverfb_setup(char*);
and further down in the file.
#ifdef CONFIG_FB_MYDRIVER
{ "myfbdriver", xxxmydriverfb_init, xxxmydriverfb_setup },
#endif
When you look at this file you will see what I mean. If you have any
further questions just go to http://www.linux-fbdev.org. In this email you
will see the address for our mailing list. On our web site it gives you
info about joining the mailing list.
-
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/