Driver interface docs

Joerg Sonnenberger joerg at britannica.bec.de
Mon Nov 15 12:21:42 PST 2004


On Mon, Nov 15, 2004 at 01:42:42PM +0100, Tolmacs Mark wrote:
> To be more precise, I'm interested in the network driver API. While I'm
> googling I found these:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/index.html
> and of course the man (9).

Important differences:
- if_multiaddrs is a LIST, not a TAILQ
- locking is done using splimp / splx, not mutexes
- ALTQ macros are currently only half-working, this will change in the next
  days
- some additional changes for ALTQified drivers are needed
- vlan is handled differently
- m_devget has a different semantic

That's what I remember off-memory. If you want details or help, just ask.

Joerg





More information about the Kernel mailing list