Layered modularization
Hi, does anyone know how to implement a layered modularization in Linux?
I've read Alessandro Rubini's book "Linux device driver". In Chapter 2 of his book he mentioned some information about stacked modules. But not enough to develop a Layered modularization.
Now I need to write a hook module which will hook the reading/writing operation of /dev/fd0. That means I want to make a intermediate driver which layers above or below the driver of /dev/fd0.
It just like a filter driver in Windows platform.
Any idea will be appreciated.
Best regards,
Michael
______________________________________________________
Send your holiday cheer with http://greetings.yahoo.ca
2.5.1pre5 vt_kern.h small patch
include/linux/vt_kern.h renamed from include/linux/vt_kern.h~ +1 -0
@@ -7,6 +7,7 @@*/ #include <linux/config.h> +#include <linux/tty.h> /* needed for MAX_NR_CONSOLES */ #include <linux/vt.h> #include <linux/kd.h>
Signature · 3 lines
Kirk Reiser The Computer Braille Facility e-mail: [email protected] University of Western Ontario phone: (519) 661-3061