1PARPORT_REMOVE_PORT(9) Parallel Port Devices PARPORT_REMOVE_PORT(9)
2
3
4
6 parport_remove_port - deregister a parallel port
7
9 void parport_remove_port(struct parport * port);
10
12 port
13 parallel port to deregister
14
16 When a parallel port driver is forcibly unloaded, or a parallel port
17 becomes inaccessible, the port driver must call this function in order
18 to deal with device drivers that still want to use it.
19
20 The parport structure associated with the port has its operations
21 structure replaced with one containing ´null´ operations that return
22 errors or just don´t do anything.
23
24 Any drivers that have registered themselves using
25 parport_register_driver are notified that the port is no longer
26 accessible by having their detach routines called with port as the
27 parameter.
28
30Kernel Hackers Manual 2.6. June 2019 PARPORT_REMOVE_PORT(9)