lkml.org 
[lkml]   [2003]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectFix firmware loader docs
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2011 Jasper Spaans