Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Writing Device Drivers
Previous Next

Block Driver Structure Overview

Figure 16-1 shows data structures and routines that define the structure of a block device driver. Device drivers typically include the following elements:

  • Device-loadable driver section

  • Device configuration section

  • Device access section

The shaded device access section in the following figure illustrates entry points for block drivers.

Figure 16-1 Block Driver Roadmap
Diagram shows structures and entry points for block device drivers.

Associated with each device driver is a dev_ops(9S) structure, which in turn refers to a cb_ops(9S) structure. See Chapter 6, Driver Autoconfiguration for details on driver data structures.

Block device drivers provide these entry points:


Note - Some of the entry points can be replaced by nodev(9F) or nulldev(9F) as appropriate.


Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire