Commit f333f50d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix firmware loader docs

From: Rusty Russell <rusty@rustcorp.com.au>

From:  Pavel Machek <pavel@ucw.cz>

sysfs should be mounted on /sys these days.
parent bc344a64
...@@ -60,9 +60,9 @@ ...@@ -60,9 +60,9 @@
HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/ 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 cat $HOTPLUG_FW_DIR/$FIRMWARE > /sysfs/$DEVPATH/data
echo 0 > /sysfs/$DEVPATH/loading echo 0 > /sys/$DEVPATH/loading
Random notes: Random notes:
============ ============
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/ 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 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: # To cancel the load in case of error:
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment