autoloading snd_sun_cs4231?
What is needed to autoload snd_sun_cs4231 on Ultra 5? It's not pci but ebus - do we have ebus modalias support, or what would I need to know to write one?
Signature · 1 line
Meelis Roos ([email protected])
From: Meelis Roos <[email protected]>
Date: Thu, 17 May 2007 11:25:34 +0300 (EEST)
Quoted 3 lines
What is needed to autoload
snd_sun_cs4231on Ultra 5? It's not pci but ebus - do we have ebus modalias support, or what would I need to know to write one?
of_device autoloading is what you need, powerpc probably has some infrastructure for this already.
Oh I see, I didn't convert cs4231 over to of_device yet. I can't do that until I fix up the SBUS stuff so that everything can go through the generic dma_*() mapping interfaces.
Maybe in the 2.6.23 timeframe this will be doable, thanks for mentioning it I'll add it to my todo list.
Quoted 10 lines
Quoted 3 lines
What is needed to autoload
snd_sun_cs4231on Ultra 5? It's not pci but ebus - do we have ebus modalias support, or what would I need to know to write one?
of_deviceautoloading is what you need, powerpc probably has some infrastructure for this already.Oh I see, I didn't convert cs4231 over to
of_deviceyet. I can't do that until I fix up the SBUS stuff so that everything can go through the generic dma_*() mapping interfaces.
Does the same method provide sbus autoloading? sbus module autoloading seems to be broken currently - neither my owrn nor Debian 2.6.22-1 kernels do sbus autoloading and so Debian's initrd does not even load sun_esp and fails to boot. It used to function somehow before (not of_device autoloading) - I do not know how it worked for initrd, but it seemed to use discover for the rest of the modules. discover too has stopped finding sbus modules :(
Signature · 1 line
Meelis Roos ([email protected])
From: Meelis Roos <[email protected]>
Date: Fri, 27 Jul 2007 19:06:50 +0300 (EEST)
Quoted 7 lines
Does the same method provide sbus autoloading? sbus module autoloading seems to be broken currently - neither my owrn nor Debian 2.6.22-1 kernels do sbus autoloading and so Debian's initrd does not even load
sun_espand fails to boot. It used to function somehow before (notof_deviceautoloading) - I do not know how it worked for initrd, but it seemed to use discover for the rest of the modules. discover too has stopped finding sbus modules :(
The mechanism it uses is incredibly simple, it's nothing more than a shell script that runs "/usr/sbin/prtconv -pv" and greps for node names, and based upon those node names it loads the appropriate module.
Perhaps you're not turning on the openprom driver that prtconf needs to operate.
Quoted 7 lines
The mechanism it uses is incredibly simple, it's nothing more than a shell script that runs "
/usr/sbin/prtconv-pv" and greps for node names, and based upon those node names it loads the appropriate module.Perhaps you're not turning on the openprom driver that prtconf needs to operate.
On the machine in question, prtconf -pv works and displays a long list. However, sbus modules sunlance, qlogicpti, parport_sunbpp were not autoloaded and previously I have had problems with sunhme too (I have it in /etc/modules now).
Signature · 1 line
Meelis Roos ([email protected])