From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>,
Rusty trivial patch monkey Russell <trivial@rustcorp.com.au>
Subject: Fix firmware loader docs
Date: Sun, 16 Nov 2003 14:10:00 +0100 [thread overview]
Message-ID: <20031116131000.GA293@elf.ucw.cz> (raw)
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?]
next reply other threads:[~2003-11-16 13:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-16 13:10 Pavel Machek [this message]
2003-11-16 13:30 ` Fix firmware loader docs Marcel Holtmann
2003-11-16 13:38 ` Pavel Machek
2003-11-16 13:52 ` Marcel Holtmann
[not found] <SuZ1.4nW.9@gated-at.bofh.it>
2003-11-16 15:38 ` Pascal Schmidt
2003-11-16 16:57 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031116131000.GA293@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox