PARPORT_UNREGISTER_PORT

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

parport_unregister_port - deregister a parallel port  

SYNOPSIS

"SYNOPSIS"

void parport_unregister_port (struct parport * port);  

ARGUMENTS

port
parallel port to deregister
 

DESCRIPTION

When a parallel port driver is forcibly unloaded, or a parallel port becomes inaccessible, the port driver must call this function in order to deal with device drivers that still want to use it.

The parport structure associated with the port has its operations structure replaced with one containing 'null' operations that return errors or just don't do anything.

Any drivers that have registered themselves using parport_register_driver are notified that the port is no longer accessible by having their detach routines called with port as the parameter.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 13:31:43 GMT, October 06, 2005