JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Device Driver Tutorial     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

Preface

1.  Introduction to Device Drivers

2.  Template Driver Example

3.  Reading and Writing Data in Kernel Memory

4.  Tips for Developing Device Drivers

Index

A

B

C

D

E

F

G

H

I

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

E

echo command, Reading and Writing the Device
entry points
attach()
Installing a Driver
Writing the Autoconfiguration Entry Points
Defining the Device Attach Entry Point
Attaching and Detaching
Device Driver Testing Tips
autoconfiguration, Writing the Autoconfiguration Entry Points
close()
Writing the User Context Entry Points
Defining the Close Device Entry Point
Opening the Device, Closing the Device, and Getting Module Information
detach()
Defining the Module Unload Entry Point
Writing the Autoconfiguration Entry Points
Defining the Device Detach Entry Point
Attaching and Detaching
devmap(), User and Kernel Address Spaces on x86 and SPARC Machines
_fini()
Writing the Loadable Module Configuration Entry Points
Defining the Module Unload Entry Point
Initializing and Unloading
getinfo()
Writing the Autoconfiguration Entry Points
Defining the Get Driver Information Entry Point
Opening the Device, Closing the Device, and Getting Module Information
_info()
Installing a Driver
Writing the Loadable Module Configuration Entry Points
Defining the Module Information Entry Point
Device Driver Testing Tips
_init()
Installing a Driver
Writing the Loadable Module Configuration Entry Points
Defining the Module Initialization Entry Point
Initializing and Unloading
Device Driver Testing Tips
ioctl()
Devices as Files
Writing New Data
Reporting and Setting Device Size and Re-initializing the Device
Exercising the Driver's I/O Controls
loadable module configuration, Writing the Loadable Module Configuration Entry Points
open()
Writing the User Context Entry Points
Defining the Open Device Entry Point
Opening the Device, Closing the Device, and Getting Module Information
prop_op()
Writing the Autoconfiguration Entry Points
Defining the Report Driver Property Information Entry Point
read()
Writing the User Context Entry Points
Defining the Read Device Entry Point
Reading the Data
user context, Writing the User Context Entry Points
write()
Writing the User Context Entry Points
Defining the Write Device Entry Point
Writing New Data
/etc/driver_aliases file, Adding, Updating, and Removing a Driver
/etc/name_to_major file
Adding, Updating, and Removing a Driver
Adding the Template Driver
Building, Installing, and Using Quote Of The Day Version 2