Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • The problem is that the function which fails is in <linux/netdev.h>, so I can't really add some printk() there. I've been following the book, but as you said, it's quite old and must of the stuff is obsolete. Commented May 7, 2017 at 17:59
  • 1
    The register_netdevice function is defined in the C file net/core/dev.c. Yes, the book is old, but there are several repositories on Github that are trying to keep the sample source code from the book up to date. For example: github.com/martinezjavier/ldd3. Commented May 7, 2017 at 18:09