.\" 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 "IDE_UNREGISTER_SUBDRIVER" "9" "09 October 2005" "" "" .SH NAME ide_unregister_subdriver \- disconnect drive from driver .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void ide_unregister_subdriver (ide_drive_t * \fIdrive\fB, ide_driver_t * \fIdriver\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdrive\fB\fR drive to unplug .TP \fB\fIdriver\fB\fR driver .SH "DESCRIPTION" .PP Disconnect a drive from the driver it was attached to and then clean up the various proc files and other objects attached to it. .PP Takes ide_setting_sem and ide_lock. Caller must hold none of the locks.