Chapter 10 ISA device drivers

Table of Contents
10.1 Synopsis
10.2 Basic information
10.3 Device_t pointer
10.4 Configuration file and the order of identifying and probing during auto-configuration
10.5 Resources
10.6 Bus memory mapping
10.7 DMA
10.8 xxx_isa_probe
10.9 xxx_isa_attach
10.10 xxx_isa_detach
10.11 xxx_isa_shutdown
10.12 xxx_intr
Written by Sergey Babkin. Modifications for Handbook made by Murray Stokely, Valentino Vaschetto, and Wylie Stilwell.

10.1 Synopsis

This chapter introduces the issues relevant to writing a driver for an ISA device. The pseudo-code presented here is rather detailed and reminiscent of the real code but is still only pseudo-code. It avoids the details irrelevant to the subject of the discussion. The real-life examples can be found in the source code of real drivers. In particular the drivers ep and aha are good sources of information.

This, and other documents, can be downloaded from ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/.

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.