Subject: Re: Intel 82801DB - AC97 Audio, IDE & SMBus support
To: None <port-i386@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: port-i386
Date: 06/03/2003 20:35:38
On Tuesday 03 June 2003 13:00, Stephan Thesing wrote:

Thanks guys ! After inserting new ID line and rebuilding the kernel all w=
orks=20
perfect :)

ps: at this moment i don't have EB but i'll look around just to try it.

// wbr

> Hello,
>
> On Tue, 3 Jun 2003, Ian Zagorskih wrote:
> > Date: Tue, 3 Jun 2003 19:55:33 +0000
> > From: Ian Zagorskih <ianzag@megasignal.com>
> > To: port-i386@netbsd.org
> > Subject: Intel 82801DB - AC97 Audio, IDE & SMBus support
> >
> >
> > According to dmesg i have the following PCI devices present @pci0:
> >
> > --- cut ---
> > Intel 82801DB AC97 Audio Controller (audio multimedia, revision 0x01)=
 at
> > pci0 dev 31 function 5 not configured
> > --- cut ---
> >
> > >From supported hardware list for NetBSD 1.6.1/PCI i found that at le=
ast
> > > "Intel
> >
> > i82801AA, i82801AB, i82801BA, and i82440MX audio (auich)" is supporte=
d.
> > But AA/AB/BA and DB according to Intel docs have different devcie cod=
es.
> > On the other hand, AFAIU they are quite sumular to each other both in
> > interface and functionality so it shouldn't be hard to add support of
> > this devices too [or i am wrong ?].
>
> you can add support for NetBSD 1.6.1 for the i82801DB by this patch to
>  /usr/src/sys/dev/pci/auich.c
>
> Index: auich.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /cvsroot/src/sys/dev/pci/auich.c,v
> retrieving revision 1.17
> diff -b -u -r1.17 auich.c
> --- auich.c=092002/04/11 10:54:23=091.17
> +++ auich.c=092003/06/03 12:55:24
> @@ -285,6 +285,8 @@
>  =09    "i82440MX AC-97 Audio",=09=09"440MX" },
>  =09{ PCI_PRODUCT_INTEL_82801CA_AC,
>  =09    "i82801CA AC-97 Audio",=09=09"i830M" },
> +=09{ PCI_PRODUCT_INTEL_82801DB_AC,
> +=09    "i82801DB (ICH4) AC-97 Audio",=09"ICH4" },
>
>  =09{ 0,
>  =09    NULL,=09=09=09NULL },
>
>
> At least this worked for our machines here:-)
>
> Best regards.....
> =09Stephan
>
> =3D  Tel.: +49-681-302-5571      =3D Universitaet des Saarlandes =3D
> =3D  Fax.: +49-681-302-3065      =3D Postfach 15 11 50           =3D
> =3D  Compiler Research Group     =3D 66041 Saarbruecken          =3D
> =3D  FR 6.2 - Informatik         =3D GERMANY                     =3D