|
In driver development, it is very common for a driver to perform tasks that require system resources or service requests from the system. Examples of these tasks are:
Solaris software provides a complete set of Device Driver Interface (DDI) functions to perform these tasks. Device drivers using the Solaris 2.x DDI can be ported to different bus architectures with minimal efforts. Solaris 2.x achieves this portability through a hierarchical approach of representing the system hardware in a tree structure. Who Should Use This White Paper
Before You Read This White PaperTo understand the information presented in this white paper, you must be familiar with the material in these documents:
This white paper is organized into these chapters:Chapter 1, "Introduction," outlines the topics presented in this white paper and summarizes the commonly used device driver interface functions for PCI device drivers. Chapter 2, "Device Properties," discusses the properties used to describe the characteristics of a hardware device or its associated devices. Chapter 3, "Sun SPARC Implementation for the PCI Bus," describes the Sun Host to PCI Bridge (HPB), a PCI-based I/O subsystem that connects a system bus (Ultra Port Architecture (UPA)) with PCI buses. Chapter 4, "Interrupts," describes how interrupts are handled by the device drivers in a system. Chapter 5, "Device Address Mapping," describes how mappings between kernel virtual addresses and device address space are established. Chapter 6, "Direct Memory Access," discusses Direct Memory Access (DMA) objects, Direct Virtual Memory Access (DVMA) resources, and IOMMU translations, as well as consistent vs. streaming DMA. Related BooksRefer to the following books to learn more about writing PCI device drivers:
The SunDocsSM program provides more than 250 manuals from Sun Microsystems, Inc. If you live in the United States, Canada, Europe, or Japan, you can purchase documentation sets or individual manuals using this program.
What Typographic Changes MeanThe following table describes the typographic changes used in this white paper.
Shell Prompts in Command ExamplesThe following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.
| ||||||||||||
|
| ||||||||||||