public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Fix firmware loader docs
@ 2003-11-16 13:10 Pavel Machek
  2003-11-16 13:30 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2003-11-16 13:10 UTC (permalink / raw)
  To: kernel list, Rusty trivial patch monkey Russell

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?]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-11-16 16:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <SuZ1.4nW.9@gated-at.bofh.it>
2003-11-16 15:38 ` Fix firmware loader docs Pascal Schmidt
2003-11-16 16:57   ` Pavel Machek
2003-11-16 13:10 Pavel Machek
2003-11-16 13:30 ` Marcel Holtmann
2003-11-16 13:38   ` Pavel Machek
2003-11-16 13:52     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox