Skip Navigation Links | |
Exit Print View | |
Writing Device Drivers Oracle Solaris 11.1 Information Library |
Part I Designing Device Drivers for the Oracle Solaris Platform
1. Overview of Oracle Solaris Device Drivers
2. Oracle Solaris Kernel and Device Tree
5. Managing Events and Queueing Tasks
7. Device Access: Programmed I/O
10. Mapping Device and Kernel Memory
13. Hardening Oracle Solaris Drivers
14. Layered Driver Interface (LDI)
Part II Designing Specific Kinds of Device Drivers
15. Drivers for Character Devices
18. SCSI Host Bus Adapter Drivers
19. Drivers for Network Devices
Part III Building a Device Driver
22. Compiling, Loading, Packaging, and Testing Drivers
23. Debugging, Testing, and Tuning Device Drivers
24. Recommended Coding Practices
B. Summary of Oracle Solaris DDI/DKI Services
Device Information Tree Node (dev_info_t) Functions
Device Software State Functions
Memory Allocation and Deallocation Functions
Kernel Thread Control and Synchronization Functions
Task Queue Management Functions
Direct Memory Access (DMA) Functions
User Process Information Functions
User Application Kernel and Device Access Functions
Kernel Logging and Printing Functions
Resource Map Management Functions
C. Making a Device Driver 64-Bit Ready
The SCSI functions are:
Probe a SCSI device
Free resources allocated during initial probing
Allocate an I/O buffer for SCSI DMA
Free a previously allocated SCSI DMA I/O buffer
Prepare a complete SCSI packet
Free an allocated SCSI packet and its DMA resource
Set up SCSI command descriptor block (CDB)
Start a SCSI command
Run a polled SCSI command
Get SCSI transport capability
Set SCSI transport capability
Synchronize CPU and I/O views of memory
Abort a SCSI command
Reset a SCSI bus or target
Notify the target driver of bus resets
Decode a SCSI command
Decode a SCSI peripheral device type
Decode a SCSI message
Decode a SCSI packet completion reason
Decode a SCSI sense key
Display a SCSI request sense message
Display a SCSI-device-related message
Display a SCSI request sense message
SCSI HBA system initialization routine
SCSI HBA system completion routine
SCSI HBA attach routine
SCSI HBA detach routine
Default SCSI HBA probe function
Allocate a transport structure
Free a transport structure
Allocate a scsi_pkt structure
Free a scsi_pkt structure
Return an index matching capability string
Table B-12 Deprecated SCSI Functions
|