.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SYSDEV_DRIVER_REGISTER" "" "06 October 2005" "" "" .SH NAME sysdev_driver_register \- Register auxillary driver .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int sysdev_driver_register (struct sysdev_class * \fIcls\fB, struct sysdev_driver * \fIdrv\fB); \fR .SH "ARGUMENTS" .TP \fB\fIcls\fB\fR Device class driver belongs to. .TP \fB\fIdrv\fB\fR Driver. .SH "DESCRIPTION" .PP If \fIcls\fR is valid, then \fIdrv\fR is inserted into \fIcls\fR->drivers to be called on each operation on devices of that class. The refcount of \fIcls\fR is incremented. Otherwise, \fIdrv\fR is inserted into global_drivers, and called for each device.