On Wed, 29 Jan 2003, Adam Wiggins wrote: > On Wed, Jan 29, 2003 at 11:26:35AM +0100, Alfredo Sanjuan wrote: > > >> errors. However...I have searched extensively for some documentation > > > or examples of making standalone modules for 2.4, and they do not seem > > > to exist! > > > > You may want to take a look to the book "Linux Device Drivers" > > at http://www.xml.com/ldd/chapter/book/ It covers module > > building in 2.2 and 2.4 kernel series. This book can be read > > online or in PDF format. > > Yes, in fact that was the book I learned from originally when I wrote > the 2.2 drivers. However...the online examples are either out of date > or were never updated to work with 2.4, and the text of the book > itself contains no complete examples, everything is in very tiny code > snippets. > > All I need is a 20 line source example that will compile on the 2.4 > kernel; does no such thing exist? > Examples for book: http://examples.oreilly.com/linuxdrive2/ldd2-samples-1.0.1.tar.gz -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/