Fix firmware loader docs

From: Pavel Machek
Date: Sun Nov 16 2003 - 08:11:42 EST


Hi!

AFAICS, sysfs should be mounted on /sys these days...

--- tmp/linux/Documentation/firmware_class/README 2003-08-27 12:00:01.000000000 +0200
+++ linux/Documentation/firmware_class/README 2003-11-06 13:50:58.000000000 +0100
@@ -60,9 +60,9 @@

HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/

- echo 1 > /sysfs/$DEVPATH/loading
+ echo 1 > /sys/$DEVPATH/loading
cat $HOTPLUG_FW_DIR/$FIRMWARE > /sysfs/$DEVPATH/data
- echo 0 > /sysfs/$DEVPATH/loading
+ echo 0 > /sys/$DEVPATH/loading

Random notes:
============
--- tmp/linux/Documentation/firmware_class/hotplug-script 2003-06-24 12:27:38.000000000 +0200
+++ linux/Documentation/firmware_class/hotplug-script 2003-11-06 13:50:55.000000000 +0100
@@ -6,9 +6,9 @@

HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/

-echo 1 > /sysfs/$DEVPATH/loading
+echo 1 > /sys/$DEVPATH/loading
cat $HOTPLUG_FW_DIR/$FIRMWARE > /sysfs/$DEVPATH/data
-echo 0 > /sysfs/$DEVPATH/loading
+echo 0 > /sys/$DEVPATH/loading

# To cancel the load in case of error:
#

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/