Subject: Re: macppc audio (was Re: autoconf(9) tree in an odd hardware arrangement )
To: Marco Trillo <marcotrillo@gmail.com>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 12/08/2007 11:42:55
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Marco,
> I don't know i2s well enough to have a strong opinion here - my gut
> feeling is that the gpios depend more on i2s than anything else
> though. Also, I'm not so sure anymore that putting the DMA stuff
> into a separate driver is such a good idea - too many layers. Maybe
> just have i2s and awacs pull the DMA code in as a dependency?
...
> I think the codecs know best which gpios they need and where to
> look for them. Then again, unifying i2s and awacs doesn't look all
> that straight forward anymore.
Hmm, that doesn't sound right.
So, I'm no longer sure that unifying i2s and awacs will work right, I
think factoring out the DMA code and pulling it in as dependency is
the least painful way here. That said, I hereby drop my reservations
about putting the gpio stuff into i2s, I think you're right about
having all that in one place. I would still like the sound-objects
parser to be mostly abstract so it can be used by both i2s and awacs.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBR1rJj8pnzkX8Yg2nAQIzlAf8CXuOpPIjWsc4Z2UNI9ZEBhgdO/zU9Y90
9rCjxqiAbIVxP3ljOMMUW0+S5sPXdc+P/x/xDHWu4mEl1bF3mrFt+1rysKO1zmah
d0TBaP3FvAQVZCz4pzvqGUMrD3fbaJYv/dTufE0/3V9dPVq8hlA4yZ5r3ZUe0RuN
Vd6qwoTEOb49jJa0vKxy3QYkqLozFZ8fKCzL9WpORmFvZ8RBhK+/VjqhafCy/utA
43u4vLtGBF9VNs/9oWmEDGT7bJSbNtYzCiMWiTVow0I6CHip7p+HHyzbgquykGbQ
pgDiJFOHr5PJZyA383Fv5ksI8Bc38I1dRZhp2AiMvj0w2OkpsqJ97g==
=r7xx
-----END PGP SIGNATURE-----