Date: Wed, 22 Sep 1993 01:41:50 +0100 From: Eberhard_Moenkeberg@p27.rollo.central.de (Eberhard Moenkeberg) Subject: Re: Writing device drivers
Hello Hugo and all others,
on 21.09.93 Hugo Eide Gunnarsen wrote to All in USENET.COMP.OS.LINUX:
HE> I'm trying to write some device drivers for linux.
HE> The problem is that I can not find any documentation about this subject.
HE> If anybody know about, or have any doc., please tell me.
Get ftp.gwdg.de:/pub/linux2/doc/ldp/khg.ps - it is a possibly somewhat
old alpha version of the "Linux Kernel Hacker's Guide", the difficultiest
(and so, most incomplete) part of the Linux Documentation Project.
Or, better: mail to Michael K. Johnson, the coordinator.
Further, have a look into some "delivered", related drivers. I have been
able to develop the SoundBlaster CDROM driver almost only by peeking into
other drivers (mcd.c, sr.c, cdu31a.c) and grepping through
/usr/include/linux...
HE> Especially stuff like register_chrdev etc, so that I can fill
HE> the proper structs,
Look into the "living" examples. :-)
HE> and use the kernel functions (printf!=printf) and so on.
this is named printk.
What kind of driver shall it grow?
Greetings ... Eberhard