patch-2.3.32 linux/drivers/parport/share.c
Next file: linux/drivers/pci/names.c
Previous file: linux/drivers/net/tokenring/ibmtr.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Dec 13 16:00:32 1999
- Orig file:
v2.3.31/linux/drivers/parport/share.c
- Orig date:
Sun Nov 7 16:37:34 1999
diff -u --recursive --new-file v2.3.31/linux/drivers/parport/share.c linux/drivers/parport/share.c
@@ -107,6 +107,13 @@
for (port = portlist; port; port = port->next)
drv->attach (port);
+ /* For compatibility with 2.2, check the (obsolete) parport_lowlevel
+ * alias in case some people haven't changed to post-install rules
+ * yet. parport_enumerate (itself deprecated) will printk a
+ * friendly reminder. */
+ if (!portlist)
+ parport_enumerate ();
+
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)