* Re: Concerning a driver rewrite (NOT THE KERNEL)
@ 2001-12-26 18:54 victor1 torres
2001-12-26 19:42 ` writing device drivers Eliezer dos Santos Magalhães
0 siblings, 1 reply; 11+ messages in thread
From: victor1 torres @ 2001-12-26 18:54 UTC (permalink / raw)
To: pavel; +Cc: linux-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 worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* writing device drivers
2001-12-26 18:54 Concerning a driver rewrite (NOT THE KERNEL) victor1 torres
@ 2001-12-26 19:42 ` Eliezer dos Santos Magalhães
2001-12-26 20:01 ` Arnaldo Carvalho de Melo
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Eliezer dos Santos Magalhães @ 2001-12-26 19:42 UTC (permalink / raw)
To: linux-kernel
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 ...
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: writing device drivers
2001-12-26 19:42 ` writing device drivers Eliezer dos Santos Magalhães
@ 2001-12-26 20:01 ` Arnaldo Carvalho de Melo
2001-12-26 20:13 ` Robert Szentmihalyi
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-12-26 20:01 UTC (permalink / raw)
To: Eliezer, dos, Santos,
=?iso-8859-1?Q?Magalh=E3es_=3Cmagalhaes=40intime-ne?=,
=?iso-8859-1?B?dC5jb20uYnI+?=
Cc: linux-kernel
Em Wed, Dec 26, 2001 at 05:42:16PM -0200, Eliezer dos Santos Magalhães escreveu:
> 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
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: writing device drivers
2001-12-26 19:42 ` writing device drivers Eliezer dos Santos Magalhães
2001-12-26 20:01 ` Arnaldo Carvalho de Melo
@ 2001-12-26 20:13 ` Robert Szentmihalyi
2001-12-26 20:15 ` Riley Williams
2001-12-26 22:41 ` Legacy Fishtank
3 siblings, 0 replies; 11+ messages in thread
From: Robert Szentmihalyi @ 2001-12-26 20:13 UTC (permalink / raw)
To: Eliezer dos Santos Magalhães, linux-kernel
On Wednesday, 26. December 2001 20:42, Eliezer dos Santos Magalhães
wrote:
> 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
--
Where do you want to be tomorrow?
Entracom. Building Linux systems.
http://www.entracom.de
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: writing device drivers
2001-12-26 19:42 ` writing device drivers Eliezer dos Santos Magalhães
2001-12-26 20:01 ` Arnaldo Carvalho de Melo
2001-12-26 20:13 ` Robert Szentmihalyi
@ 2001-12-26 20:15 ` Riley Williams
2001-12-26 22:41 ` Legacy Fishtank
3 siblings, 0 replies; 11+ messages in thread
From: Riley Williams @ 2001-12-26 20:15 UTC (permalink / raw)
To: Eliezer dos Santos Magalhães; +Cc: Linux Kernel
Hi Eliezer.
> 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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: writing device drivers
2001-12-26 19:42 ` writing device drivers Eliezer dos Santos Magalhães
` (2 preceding siblings ...)
2001-12-26 20:15 ` Riley Williams
@ 2001-12-26 22:41 ` Legacy Fishtank
2001-12-27 14:56 ` Eliezer dos Santos Magalhães
3 siblings, 1 reply; 11+ messages in thread
From: Legacy Fishtank @ 2001-12-26 22:41 UTC (permalink / raw)
To: Eliezer dos Santos Magalhães; +Cc: linux-kernel
On Wed, Dec 26, 2001 at 05:42:16PM -0200, Eliezer dos Santos Magalhães wrote:
> 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
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: writing device drivers
2001-12-26 22:41 ` Legacy Fishtank
@ 2001-12-27 14:56 ` Eliezer dos Santos Magalhães
2001-12-27 14:57 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 11+ messages in thread
From: Eliezer dos Santos Magalhães @ 2001-12-27 14:56 UTC (permalink / raw)
To: linux-kernel
----- Original Message -----
From: "Legacy Fishtank" <garzik@havoc.gtf.org>
To: "Eliezer dos Santos Magalhães" <magalhaes@intime-net.com.br>
Cc: <linux-kernel@vger.kernel.org>
Sent: Wednesday, December 26, 2001 8:41 PM
Subject: Re: writing device drivers
> On Wed, Dec 26, 2001 at 05:42:16PM -0200, Eliezer dos Santos Magalhães
wrote:
> > 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
>
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 ...
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: writing device drivers
2001-12-27 14:56 ` Eliezer dos Santos Magalhães
@ 2001-12-27 14:57 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 11+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-12-27 14:57 UTC (permalink / raw)
To: Eliezer, dos, Santos,
=?iso-8859-1?Q?Magalh=E3es_=3Cmagalhaes=40intime-ne?=,
=?iso-8859-1?B?dC5jb20uYnI+?=
Cc: linux-kernel
Em Thu, Dec 27, 2001 at 12:56:58PM -0200, Eliezer dos Santos Magalhães escreveu:
> 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
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: writing device drivers
@ 2001-12-26 20:10 RaúlNúñez de Arenas Coronado
0 siblings, 0 replies; 11+ messages in thread
From: RaúlNúñez de Arenas Coronado @ 2001-12-26 20:10 UTC (permalink / raw)
To: linux-kernel, magalhaes
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 334 bytes --]
Hello Eliezer :)
>where can I find a good paper , or something good that could teach
>me how to write device drivers ??
Undoubtly, IMHO, the book from Rubini and Corbet, 'Linux Device
Drivers' (O'Reilly). Is available freely online, but it really worths
the price and I encourage you to buy it. A very good job ;)
Raúl
^ permalink raw reply [flat|nested] 11+ messages in thread* Writing Device Drivers
@ 2014-06-27 21:54 Nawn Given
2014-06-27 22:48 ` Andi Kleen
0 siblings, 1 reply; 11+ messages in thread
From: Nawn Given @ 2014-06-27 21:54 UTC (permalink / raw)
To: linux-kernel
I recently read some post-commentary on very old Linux mailing list
messages (announcement to 0.96.)
I'm interested in how someone writes a driver for their hardware. What
is the process (or if it's become harder to explain since the early
90s, what was the process back then) for Linux?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Writing Device Drivers
2014-06-27 21:54 Writing Device Drivers Nawn Given
@ 2014-06-27 22:48 ` Andi Kleen
0 siblings, 0 replies; 11+ messages in thread
From: Andi Kleen @ 2014-06-27 22:48 UTC (permalink / raw)
To: Nawn Given; +Cc: linux-kernel
Nawn Given <wood.quinn.s@gmail.com> writes:
> I recently read some post-commentary on very old Linux mailing list
> messages (announcement to 0.96.)
>
> I'm interested in how someone writes a driver for their hardware. What
> is the process (or if it's become harder to explain since the early
> 90s, what was the process back then) for Linux?
1. Open editor
2. Type code
3. Test code
4. Repeat until code works.
No substantial change since 0.96 as far as I know.
-Andi
--
ak@linux.intel.com -- Speaking for myself only
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-06-27 22:48 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-26 18:54 Concerning a driver rewrite (NOT THE KERNEL) victor1 torres
2001-12-26 19:42 ` writing device drivers Eliezer dos Santos Magalhães
2001-12-26 20:01 ` Arnaldo Carvalho de Melo
2001-12-26 20:13 ` Robert Szentmihalyi
2001-12-26 20:15 ` Riley Williams
2001-12-26 22:41 ` Legacy Fishtank
2001-12-27 14:56 ` Eliezer dos Santos Magalhães
2001-12-27 14:57 ` Arnaldo Carvalho de Melo
-- strict thread matches above, loose matches on Subject: below --
2001-12-26 20:10 RaúlNúñez de Arenas Coronado
2014-06-27 21:54 Writing Device Drivers Nawn Given
2014-06-27 22:48 ` Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox