Re: OSS: cleanup or throw away

From: Russell King
Date: Mon Mar 22 2004 - 18:18:42 EST


On Mon, Mar 22, 2004 at 11:23:29PM +0100, Adrian Bunk wrote:
> On Tue, Mar 23, 2004 at 12:03:27AM +0200, Muli Ben-Yehuda wrote:
> > On Mon, Mar 22, 2004 at 10:59:21PM +0100, Adrian Bunk wrote:
> > > Wouldn't it be better to get the ALSA drivers working in such cases?
> >
> > It would; but until they do, ditching OSS is a regression.
> >...
>
> Clearly.
>
> Ditching OSS at the beginning of 2.7 will give several years to identify
> and fix such regressions.

Seriously, ALSA has some issues at the moment which OSS doesn't have.
The main one is that OSS does not require mmap() access, whereas ALSA
native does at present - and there are architectures where the ALSA
method of mmap() both the ring buffer and the control data does not
work.

These issues aren't simple to resolve - as can be seen from the
recent lkml threads on the subject. I've been seriously considering
submitting the existing OSS drivers I have here for ARM hardware
instead of trying to convert them to ALSA drivers first, and
considering whether I should be writing new OSS drivers in
preference to ALSA drivers.

That's not to say I don't want to see ALSA progress though - which is
why I'm working to try to get these issues resolved.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/