From: Wolfgang Grandegger <wg@grandegger.com>
To: linuxppc-dev <Linuxppc-dev@ozlabs.org>
Subject: OF modalias
Date: Wed, 19 Aug 2009 16:15:03 +0200 [thread overview]
Message-ID: <4A8C08E7.2060802@grandegger.com> (raw)
Hello,
I'm confused by the modalias'es created by OF devices, e.g.:
# cat /sys/devices/f0000000.soc5200/f0000f00.spi/modalias
of:NspiT<NULL>Cfsl,mpc5200b-spiCfsl,mpc5200-spi
First of all, the string "<NULL>" looks like an error.
I could then dynamically load a driver module for the SPI using:
# modprobe `cat sys/devices/f0000000.soc5200/f0000f00.spi/modalias`
This does make sense for the SPI device, but there are OF devices which
cannot really be used by a module driver, e.g.:
# cat /sys/devices/f0000000.soc5200/f0000500.interrupt-controller/modalias
of:Ninterrupt-controllerT<NULL>Cfsl,mpc5200b-picCfsl,mpc5200-pic
The same for localbus, cdm, etc. Does it make sense for these
to create a modalias file?
Likely I have missed something. Thanks for clarification.
Wolfgang.
reply other threads:[~2009-08-19 14:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4A8C08E7.2060802@grandegger.com \
--to=wg@grandegger.com \
--cc=Linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).