PARPORT_UNREGISTER_DRIVER

Section: (9)
Updated: 17 July 2003
Index Return to Main Contents

 

NAME

parport_unregister_driver - deregister a parallel port device driver  

SYNOPSIS

void parport_unregister_driver (struct parport_driver * arg);  

ARGUMENTS

arg
structure describing the driver that was given to parport_register_driver
 

DESCRIPTION

This should be called by a parallel port device driver that has registered itself using parport_register_driver when it is about to be unloaded.

When it returns, the driver's attach routine will no longer be called, and for each port that attach was called for, the detach routine will have been called.

If the caller's attach function can block, it is their responsibility to make sure to wait for it to exit before unloading.

All the driver's detach calls are guaranteed to have finished by the time this function returns.

The driver's detach call is not allowed to block.  

ABOUT THIS DOCUMENT

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

If you have comments on the formatting of this manpage, then please contact Michael Still (mikal@stillhq.com).

This documentation was generated with kernel version 2.5.75.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 03:31:04 GMT, July 17, 2003