Subject: 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/18/2004 01:39:52
--pgp-sign-Multipart_Sat_Dec_18_01:39:49_2004-1
Content-Type: text/plain; charset=US-ASCII
In message "HEADS UP: dev/pci/auixp (IXP-200 audio support) in progress"
on 04/12/14, Reinoud Zandijk <reinoud@netbsd.org> writes:
> As a side effect, i've noticed that the ac97_attach() needs some small
> adjustments as in it demands that the structure passed in host_if.arg is a
> struct device pointer (or at least starts with a device entry); i would
> like to break this false dependency by passing on the device pointer as a
> second argument to ac97_attach() so it then becomes :
>
> ac97_attach(struct ac97_host_if host_if *, struct device *)
Why is it needed? You can pass a pointer to struct device as
host_if.arg.
--
TAMURA Kent <kent_2004 at hauN.org> <kent at NetBSD.org>
--pgp-sign-Multipart_Sat_Dec_18_01:39:49_2004-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iQEVAwUAQcML2H7t9398iwLqAQKI9ggAqUjjwjR/ZLa3UOgM6M/6z4vVIbHglUAC
4XpAhyxMdr+y79J8Eam2FRafXcKYPCF+yMr3HoO8Hnl74UiLH+N5qFyrPOpUB5Id
yk7G/tgCby29GFSPKcpBzEa77ExFjVp0USrH9O3lJKwGhDLFY/t8HZvzC5WQXbTP
vD/gqjQzeHMX2egkP9v5TuGZfdBGj3T24tru0pconVs+F7ye+obhbLbbutE8X5oD
vI5xDb+Z8WEchlCzgFvDvOimdp+ZBR6P3meapwmjs2yFJW2fp3986Z5nZJ8O5acy
UWUmcbtlToMzhrargFKx2RVlB3qBL8C9qz+5bEDzCeHeVplgVDtG/g==
=Uctc
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Sat_Dec_18_01:39:49_2004-1--