patch-2.2.10 linux/drivers/misc/parport_share.c
Next file: linux/drivers/net/3c515.c
Previous file: linux/drivers/misc/parport_pc.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Jun 7 14:49:10 1999
- Orig file:
v2.2.9/linux/drivers/misc/parport_share.c
- Orig date:
Sun Nov 8 14:02:59 1998
diff -u --recursive --new-file v2.2.9/linux/drivers/misc/parport_share.c linux/drivers/misc/parport_share.c
@@ -298,9 +298,9 @@
port = dev->port;
if (port->cad == dev) {
- printk(KERN_WARNING "%s: refused to unregister "
- "currently active device %s.\n", port->name, dev->name);
- return;
+ printk(KERN_DEBUG "%s: %s forgot to release port\n",
+ port->name, dev->name);
+ parport_release (dev);
}
spin_lock(&port->pardevice_lock);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)