Concerning a driver rewrite (NOT THE KERNEL)
To clarify something I am not the WINMODEM Manufacture that would be Intel. Ian and I from linmodems.org have been working on building a AC97 Modem driver.
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com
writing device drivers
Hello all ,
where can I find a good paper , or something good that could teach me how to write device drivers ?? I really would like to know , mainly network device drivers , for example , how could I re-write the rtl8139 driver ? Please , if someone can help me ...
Tankx ...
Re: writing device drivers
Hi Eliezer.
Quoted 4 lines
where can I find a good paper , or something good that could teach me how to write device drivers ?? I really would like to know , mainly network device drivers , for example , how could I re-write the rtl8139 driver ?
A good starting point is the book "Linux Device Drivers" published by O'Reilly Associates (with which I have no relationship other than as a satisfied customer, depite my name). Details can be found at...
http://www.oreilly.com/catalog/linuxdrive2/
...regarding the second edition thereof - I have the first edition myself, which covers the 2.0 kernel series, but I believe the second edition covers the 2.4 series kernels, SMP and USB, all of which were missing from the original.
Best wishes from Riley.
Re: writing device drivers
In reply to victor1 torresEm Wed, Dec 26, 2001 at 05:42:16PM -0200, Eliezer dos Santos Magalhães escreveu:
Quoted 3 lines
where can I find a good paper , or something good that could teach me how to write device drivers ?? I really would like to know , mainly network device drivers , for example , how could I re-write the rtl8139 driver ?
http://www.xml.com/ldd/chapter/book/index.html
More specifically:
Chapter 14: Network Drivers
http://www.xml.com/ldd/chapter/book/ch14.html
- Arnaldo
Re: writing device drivers
In reply to victor1 torresQuoted 6 lines · Eliezer dos Santos Magalhães
Hello all ,
where can I find a good paper , or something good that could teach me how to write device drivers ?? I really would like to know , mainly network device drivers , for example , how could I re-write the rtl8139 driver ? Please , if someone can help me ... Tankx ...
One of the best books on this topic is "Linux Device Drivers" by Alessandro Rubini & Jonathan Corbet.
You may have a look at it at
http://www.xml.com/ldd/chapter/book/index.html
but I suggest buying the printed book. It's definately worth the money.
hth,
Robert
Signature · 4 lines
Where do you want to be tomorrow? Entracom. Building Linux systems. http://www.entracom.de
Re: writing device drivers
In reply to victor1 torresQuoted 3 lines · Eliezer dos Santos Magalhães
where can I find a good paper , or something good that could teach me how to write device drivers ?? I really would like to know , mainly network device drivers , for example , how could I re-write the rtl8139 driver ?
For kernel 2.4, the -2nd- edition of _Linux Device Drivers_ is good, but it doesn't cover nearly everything you need to know... your best reference is existing network driver source code for recent PCI drivers.
And, are you having problems with rtl8139 or was that just an example? :)
Jeff
Re: writing device drivers
In reply to victor1 torres----- Original Message -----
From: "Legacy Fishtank" <[email protected]>
To: "Eliezer dos Santos Magalhães" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, December 26, 2001 8:41 PM
Subject: Re: writing device drivers
Quoted 1 line
On Wed, Dec 26, 2001 at 05:42:16PM -0200, Eliezer dos Santos Magalhães
Quoted 1 line · wrote:
Quoted 1 line
where can I find a good paper , or something good that could teach me
how to
Quoted 1 line
Quoted 1 line
write device drivers ?? I really would like to know , mainly network
device
Quoted 10 lines
Quoted 1 line
drivers , for example , how could I re-write the rtl8139 driver ?
For kernel 2.4, the -2nd- edition of
_LinuxDeviceDrivers_is good, but it doesn't cover nearly everything you need to know... your best reference is existing network driver source code for recent PCI drivers.And, are you having problems with rtl8139 or was that just an example? :)
Jeff
No , it was just an example , I would like to take a source of a device drive , and study the code ... well , I have got that book ... I think I need to read it very slowly ... thank for the help ...
Re: writing device drivers
In reply to victor1 torresEm Thu, Dec 27, 2001 at 12:56:58PM -0200, Eliezer dos Santos Magalhães escreveu:
Quoted 3 lines
No , it was just an example , I would like to take a source of a device drive , and study the code ... well , I have got that book ... I think I need to read it very slowly ... thank for the help ...
Some tips: there's some IRC channels that you may find interesting, namely:
#kernelnewbies and #kernel-br, both at irc.openprojects.net, go there and you'll find plenty of helpful people willing to help you to get into this kernel hacking journey, join us! :)
- Arnaldo