Linux Character Device Driver Notes


The following is meant to be a set of notes for writing a device driver and is not intended to be a tutorial or handbook. I recommend the following sources as better references for device driver writing: Claus Schroeter's character device driver white paper, his PCI programming white paper, and his driver development kit whitepaper (ftp:ftp.llp.fu-berlin.de/pub/linux/LINUX-LAB/whitepapers), Micheal Johnson's device driver whitepaper, Micheal Battersby's notes on device driver writing, David Rusling's book The Linux Kernel, and the Linux Kernel Hacker's Guide. Of course, the best reference of all is the source code for a device driver similar to the one you're trying to write.

I will concentrate on modular device drivers rather than those which are compiled into the kernel.

Introduction

Inside the Kernel


VFS File Operations

Working with memory

Working with I/O ports

Working with PCI devices

Debugging and Messages

Kernel Modules

General Coding Practices

About this document ...

This document was generated using the LaTeX2HTML translator Version 97.1 (release) (July 13th, 1997)

Copyright © 1993, 1994, 1995, 1996, 1997, Nikos Drakos, Computer Based Learning Unit, University of Leeds.

The command line arguments were:
latex2html -split 0 -no_math -no_images -no_navigation ddrive.tex.

The translation was initiated by Nick Maliszewskyj on 8/27/1997


Nick Maliszewskyj
8/27/1997