Go to main content

Writing Device Drivers for Oracle® Solaris 11.3

Exit Print View

Updated: March 2019

Block Driver Structure Overview

    Block Driver Roadmap 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 14  Block Driver Roadmap

image: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 Driver Autoconfiguration for details on driver data structures.

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