linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* OF modalias
@ 2009-08-19 14:15 Wolfgang Grandegger
  0 siblings, 0 replies; only message in thread
From: Wolfgang Grandegger @ 2009-08-19 14:15 UTC (permalink / raw)
  To: linuxppc-dev

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-19 14:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-19 14:15 OF modalias Wolfgang Grandegger

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).