From: Doug Thompson <norsk5@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: [RFC] EDAC and /sys/devices/system
Date: Fri, 18 Nov 2005 14:37:44 -0800 (PST) [thread overview]
Message-ID: <20051118223744.88496.qmail@web50110.mail.yahoo.com> (raw)
Well, I have been playing now with the sysdev class of
APIs for installing objects into /sys/devices/system.
Unforturnately, the capabilities of that do not
provide me with what I was wanting for EDAC.
What I was wanting was an extra directory called
'edac'. In that directory was to be various types of
edac devices (memory controller and PCI Parity to
start)
In the directory /sys/devices/system:
edac/mc/mc0/<attr and controls>
edac/mc/mc1/<attr and controls>
edac/mc/<attr and controls>
and
edac/pci/<attr and controls>
This would allow for future edac components.
What I found out was that /sys/devices/system doesn't
allow for nested subsystems. At least not from what I
have read.
With the current APIs I can have the following in
/sys/devices/system:
edac_mc/edac_mc0/<attr and controls>
edac_mc/edac_mc1/<attr and controls>
edac_mc/<attr and controls>
and
edac_pci/edac_pci0/<attr and controls>
One solution is to add to the sysdev.c API set, but I
just don't want to go there.
So, it seems that what I can implement is the last set
of layout
above.
Thoughts?
Thanks
doug t
"If you think Education is expensive, just try Ignorance"
"Don't tell people HOW to do things, tell them WHAT you
want and they will surprise you with their ingenuity."
Gen George Patton
next reply other threads:[~2005-11-18 22:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-18 22:37 Doug Thompson [this message]
2005-11-19 0:25 ` Greg KH
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=20051118223744.88496.qmail@web50110.mail.yahoo.com \
--to=norsk5@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®