suggestions for good in-kernel examples of simple ethernet/PHY drivers?

Robert P. J. Day rpjday at crashcourse.ca
Thu Aug 30 13:27:13 EDT 2018


On Thu, 30 Aug 2018, Woody Wu wrote:

> Maybe the dummy NIC driver?
>
> On Thu, Aug 30, 2018 at 7:52 PM <rpjday at crashcourse.ca> wrote:
>          while i'm actually learning about the intricacies of the kernel networking
>       stack, i was looking for what would be really good examples of existing
>       network drivers that could be used as examples for future tutorials, as
>       nothing is as informational as seeing something that actually works.
>
>          there are, of course, a ton of net drivers already in the kernel, but
>       many of them are fairly complex, and might define custom methods to handle
>       individual quirks and so on, so what i'm interested in is pointers to
>       examples that are nice and simple and straightforward that could be used
>       for a walkthrough of net driver design. thoughts?
>
>       rday
>
>       p.s. i'm already aware of the mass of documentation under
>       Documentation/networking -- any pointers to online net driver
>       design and tutorials would be appreciated.
>
>       and, yes, i'm also digging through LDD3, https://lwn.net/Kernel/LDD3/.

  i'm already looking at that, but what i wanted was an example of an
existing, physical driver that shows how simple the design can be (if
such a thing exists).

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the Kernelnewbies mailing list