* autoloading snd_sun_cs4231?
@ 2007-05-17 8:25 Meelis Roos
2007-05-17 8:27 ` David Miller
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Meelis Roos @ 2007-05-17 8:25 UTC (permalink / raw)
To: sparclinux
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?
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: autoloading snd_sun_cs4231?
2007-05-17 8:25 autoloading snd_sun_cs4231? Meelis Roos
@ 2007-05-17 8:27 ` David Miller
2007-07-27 16:06 ` Meelis Roos
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2007-05-17 8:27 UTC (permalink / raw)
To: sparclinux
From: Meelis Roos <mroos@linux.ee>
Date: Thu, 17 May 2007 11:25:34 +0300 (EEST)
> 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?
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: autoloading snd_sun_cs4231?
2007-05-17 8:25 autoloading snd_sun_cs4231? Meelis Roos
2007-05-17 8:27 ` David Miller
@ 2007-07-27 16:06 ` Meelis Roos
2007-07-27 21:36 ` David Miller
2007-07-28 7:58 ` Meelis Roos
3 siblings, 0 replies; 5+ messages in thread
From: Meelis Roos @ 2007-07-27 16:06 UTC (permalink / raw)
To: sparclinux
> > 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?
>
> 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.
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 :(
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: autoloading snd_sun_cs4231?
2007-05-17 8:25 autoloading snd_sun_cs4231? Meelis Roos
2007-05-17 8:27 ` David Miller
2007-07-27 16:06 ` Meelis Roos
@ 2007-07-27 21:36 ` David Miller
2007-07-28 7:58 ` Meelis Roos
3 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2007-07-27 21:36 UTC (permalink / raw)
To: sparclinux
From: Meelis Roos <mroos@linux.ee>
Date: Fri, 27 Jul 2007 19:06:50 +0300 (EEST)
> 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 :(
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: autoloading snd_sun_cs4231?
2007-05-17 8:25 autoloading snd_sun_cs4231? Meelis Roos
` (2 preceding siblings ...)
2007-07-27 21:36 ` David Miller
@ 2007-07-28 7:58 ` Meelis Roos
3 siblings, 0 replies; 5+ messages in thread
From: Meelis Roos @ 2007-07-28 7:58 UTC (permalink / raw)
To: sparclinux
> 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).
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-07-28 7:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-17 8:25 autoloading snd_sun_cs4231? Meelis Roos
2007-05-17 8:27 ` David Miller
2007-07-27 16:06 ` Meelis Roos
2007-07-27 21:36 ` David Miller
2007-07-28 7:58 ` Meelis Roos
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.