| Re: [sparc] Automatic sbus module loading (was: Adding Emanuele Rocca to the team) |
|
 |
|
 |
|
 |
|
 |
Group: linux.debian.ports.sparc · Group Profile
Author: Kyle McMartinKyle McMartin Date: Apr 15, 2007 21:00
hi,
On Sun, Apr 15, 2007 at 11:31:42PM +0200, Frans Pop wrote:
> On Sunday 15 April 2007 22:23, maximilian attems wrote:
>> i'd like to have sbus udev module loading solved :)
>
> trave11er: We also need to investigate why kernel/udev don't load
> sbus modules yet.
> I suspect it may just be a missing udev rule.
> After all, sysfs support is supposed to be implemented.
> Though I'm not quite sure what's responsible for actually loading a
> module: the kernel itself or udev or something else.
> the way i remember it: there is modules.alias file, which
> contains things like alias pci:v0000100Bd00000500sv*sd*bc*sc*i* scx200
> udev gets this modalias from every device it detects, and then
> modprobe it
> so, the possibilities are a) udev is not getting the correct
> modalias for sbus devices; b) there is no correct entry in modules.alias
> for them
> first should be possible to check with udevinfo or something
> with access to an sbus system...
> hm
> hmm, does sbus support modalias?
> waldi: supposedly, davem recently hacked in the support for it
> well, for sysfs at least
> no sign in HEAD at least
> waldi: the sbus devices do show up in sysfs
> don't know whether this implies that udev should be able to
> handle them
> modpost is not able to extract sbus infos
> which are needed to use modalias
> aha
>
sbus modules are loaded by matching on openfirmware devices...
see scripts/mod/file2alias.c:do_of_entry().
cheers,
kyle
|