.\" 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 "OCP_REGISTER_DRIVER" "9" "09 October 2005" "" "" .SH NAME ocp_register_driver \- Register an OCP driver .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int ocp_register_driver (struct ocp_driver * \fIdrv\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdrv\fB\fR pointer to statically defined ocp_driver structure .SH "DESCRIPTION" .PP The driver's \fBprobe\fR callback is called either recursively by this function or upon later call of ocp_driver_init .SH "NOTE" .PP Detection of devices is a 2 pass step on this implementation, hotswap isn't supported. First, all OCP devices are put in the device list, _then_ all drivers are probed on each match.