JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Writing Device Drivers
search filter icon
search icon

Document Information

Preface

Part I Designing Device Drivers for the Solaris Platform

1.  Overview of Solaris Device Drivers

2.  Solaris Kernel and Device Tree

3.  Multithreading

4.  Properties

5.  Managing Events and Queueing Tasks

6.  Driver Autoconfiguration

7.  Device Access: Programmed I/O

8.  Interrupt Handlers

9.  Direct Memory Access (DMA)

10.  Mapping Device and Kernel Memory

11.  Device Context Management

12.  Power Management

13.  Hardening Solaris Drivers

14.  Layered Driver Interface (LDI)

Part II Designing Specific Kinds of Device Drivers

15.  Drivers for Character Devices

16.  Drivers for Block Devices

17.  SCSI Target Drivers

18.  SCSI Host Bus Adapter Drivers

19.  Drivers for Network Devices

20.  USB Drivers

Part III Building a Device Driver

21.  Compiling, Loading, Packaging, and Testing Drivers

22.  Debugging, Testing, and Tuning Device Drivers

23.  Recommended Coding Practices

Part IV Appendixes

A.  Hardware Overview

B.  Summary of Solaris DDI/DKI Services

C.  Making a Device Driver 64-Bit Ready

D.  Console Frame Buffer Drivers

Index

Numbers and Symbols

A

B

C

D

E

F

G

H

I

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

T

tagged queuing, Support for Queuing
tape drivers, testing, Testing Specific Types of Drivers
task queues, Queueing Tasks
definition, Introduction to Task Queues
interfaces
Task Queue Interfaces
Task Queue Management Functions
tem (terminal emulator module), x86 Platform Console Communication
See also kernel terminal emulator
tem-support DDI property
Solaris Consoles and the Kernel Terminal Emulator
SPARC Platform Console Communication
test modules, Setting Up Test Modules
testing
asynchronous communication drivers, Asynchronous Communication Drivers
configurations, Configuration Testing
console frame buffer drivers, Developing, Testing, and Debugging Console Frame Buffer Drivers
DDI compliance, DDI/DKI Compliance Testing
device drivers, Criteria for Testing Drivers
disk drivers, Disk Drivers
driver hardening test harness, Driver Hardening Test Harness
functionality, Functionality Testing
injecting hardware faults
Driver Hardening Test Harness
Testing the Driver
installation and packaging, Installation and Packaging Testing
network drivers, Network Drivers
tape drivers, Tape Drivers
testing debuggers, avoiding data loss, Avoiding Data Loss on a Test System
testing device drivers, Testing Drivers
th_define command
Driver Hardening Test Harness
Testing the Driver
Fault-Injection Process
Using Scripts to Automate the Test Process
th_manage command
Driver Hardening Test Harness
Testing the Driver
Fault-Injection Process
third-party DMA
Third-Party DMA
Performing Third-Party DMA Transfers
thread synchronization
condition variables, Condition Variables in Thread Synchronization
mutex_init, Setting Up Mutexes
mutex locks, Mutual-Exclusion Locks
per instance mutex
attach() Entry Point
attach() Entry Point
readers/writer locks, Readers/Writer Locks
threads
interactions, Thread Interaction
preemption of, Locking Primitives
task queues, Queueing Tasks
ticks argument, delay(), changes to, delay() and timeout() Argument Changes
ticks argument, timeout(), changes to, delay() and timeout() Argument Changes
time-related functions, Time-Related Functions
deprecated, Time-Related Functions
timeout argument, cv_timedwait(), changes to, cv_timedwait() and cv_timedwait_sig() Argument Changes
timeout() function, delay() and timeout() Argument Changes
changes to, delay() and timeout() Argument Changes
tip connection, Testing With a Serial Connection
total store ordering, Total Store Ordering (TSO)
TPR (Token Passing Ring), TPR and FDDI: SNAP Processing
tran_abort() entry point, SCSI HBA drivers, tran_abort() Entry Point
tran_destroy_pkt() entry point, SCSI HBA drivers, tran_destroy_pkt() Entry Point
tran_dmafree() entry point, SCSI HBA drivers, tran_dmafree() Entry Point
tran_getcap() entry point, SCSI HBA drivers, tran_getcap() Entry Point
tran_init_pkt() entry point, SCSI HBA drivers, tran_init_pkt() Entry Point
tran_reset() entry point, SCSI HBA drivers, tran_reset() Entry Point
tran_reset_notify() entry point, SCSI HBA drivers, tran_reset_notify() Entry Point
tran_setcap() entry point, SCSI HBA drivers, tran_setcap() Entry Point
tran_start() entry point, SCSI HBA drivers, tran_start() Entry Point
tran_sync_pkt() entry point, SCSI HBA drivers, tran_sync_pkt() Entry Point
tuning device drivers, Tuning Drivers
DTrace, DTrace for Dynamic Instrumentation
kstats, Kernel Statistics