Subject: ac97 interface (Re: HEADS UP: dev/pci/auixp (IXP-200 audio support) in progress)
To: Reinoud Zandijk <reinoud@netbsd.org>
From: TAMURA Kent <kent@NetBSD.org>
List: tech-kern
Date: 12/29/2004 21:34:17
--pgp-sign-Multipart_Wed_Dec_29_21:34:13_2004-1
Content-Type: text/plain; charset=US-ASCII


In message "Re: HEADS UP: dev/pci/auixp (IXP-200 audio support) in progress"
    on 04/12/27, Reinoud Zandijk <reinoud@netbsd.org> writes:
> int
> ac97_attach(struct ac97_host_if *host_if)
> {
> 	struct ac97_softc *as;
> 	struct device *sc_dev;
> ...
> 
> 	sc_dev = (struct device *)host_if->arg;

Ah, I understand!
Yes, the current code is definitely wrong.

> The only change i'd like to propose is a change from :
> int ac97_attach(struct ac97_host_if *host_if);
> to
> int ac97_attach(struct ac97_host_if *host_if, struct device *sc_dev);

I agree to this change.  If you don't need the change soon, I'll
work at the change in the kent-audio1 branch, which needs to
modify all of audio drivers.

-- 
TAMURA Kent <kent_2004 at hauN.org> <kent at NetBSD.org>

--pgp-sign-Multipart_Wed_Dec_29_21:34:13_2004-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iQEVAwUAQdKkSX7t9398iwLqAQJMuQf/di4YIweraKvctdGFOljNzo0bsd4sJoTR
z8ikLKPOVPZC5mDH3xcBEHBXdzo0J8jPK36cfSU8aT18x2rVMRGxWKeLfvAkK9UI
S3RLKKOMJ+dwIExAfV02TOFBPOPrTyugHiiET6+nLmMkrLyrrosWjMWNS0VLQR2X
QQrrtPdFEtQ7yrLa61KjU4WT13DIhQoEYLj+iC+uQdRC2b1rGI9evWVVVTG9xPZD
FepEWL9516HiwchAR2DyVBEKDBfZ5jnMb+h1lIH/ChSFaHYCX7t7dDe6lnmSdN5G
w8R/sp1ZGKxClVu7eeiSSNlaex0hjReLm1btRClfVV8L+oqkxV0f4g==
=Vk9E
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Wed_Dec_29_21:34:13_2004-1--