NetBSD Device Driver Writing Guide

The NetBSD Device Driver Writing Guide is an introduction into NetBSD's autoconf(9) system and the basics of device drivers under NetBSD. As an example, a device driver for a floppy drive under NetBSD was chosen, as the hardware and necessary documentation was available but the driver itself missing. NetBSD was chosen as the target operating system, as it lends itself perfectly as a teaching example due to its clearly structured source code and well defined interfaces.

The document was written by Jochen Kunz. All versions, including the latest development versions, are also available from

The NetBSD Device Driver Writing Guide is ©2003-2005 Jochen Kunz and available under a standard 3-clause BSD style license. Please see the document itself for details.

Download URLs


  • PDF (non-compressed, 352K)
  • PDF.gz (compressed, 288K)
  • PS (non-compressed, 272K)
  • PS.gz (compressed, 86K)
  • TEX sources (compressed archive, 62K)


  • PDF (non-compressed, 256K)
  • PDF.gz (compressed, 208K)
  • PS (non-compressed, 288K)
  • PS.gz (compressed, 92K)
  • TEX sources (compressed archive, 66K)