Writing Device Drivers

Entry Points

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


Note -

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