1. NAME

parport_remove_port - deregister a parallel port

2. SYNOPSIS

void parport_remove_port(struct parport *  port );

3. ARGUMENTS

port
    parallel port to deregister

4. 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 AqnullAq operations that return errors or just donAqt 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.

5. COPYRIGHT