Skip site navigation (1)Skip section navigation (2)
Date:      19 Jul 2002 07:47:40 -0500
From:      Rob Hughes <rob@robhughes.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: (Sort of) Solved Re: Current (DP1) on Toshiba 5005
Message-ID:  <1027082860.1526.24.camel@kahuna-ws.robhughes.com>
In-Reply-To: <20020719084246.0c560593.kabaev@bellatlantic.net>
References:  <1026823721.13803.59.camel@kahuna-ws.robhughes.com> <3D347C5D.7080900@attbi.com> <1027082010.1526.22.camel@kahuna-ws.robhughes.com>  <20020719084246.0c560593.kabaev@bellatlantic.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-plYqx9gy2UdYIwsTu8Gr
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2002-07-19 at 07:42, Alexander Kabaev wrote:
> On 19 Jul 2002 07:33:30 -0500
> Rob Hughes <rob@robhughes.com> wrote:
>=20
> > can't fetch resources for \\_SB_.LNKA - AE_BAD_DATA
> >  can't fetch resources for \\_SB_.LNKB - AE_BAD_DATA
> >  can't fetch resources for \\_SB_.LNKC - AE_BAD_DATA
> >  can't fetch resources for \\_SB_.LNKF - AE_BAD_DATA
> >  can't fetch resources for \\_SB_.LNKH - AE_BAD_DATA
> >  can't fetch resources for \\_SB_.PCI0.FNC0.FSIR - AE_BAD_DATA
>=20
> ^^^^^^^ I had to patch ACPICA sources to make my laptoop to work.
> Apparently, folks at ACPI mailing list made exactly the same patch too.
> Returning AE_BAD_DATA for empty resource descriptors is wrong.
>=20
> Index: rsio.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: /home/ncvs/src/sys/contrib/dev/acpica/rsio.c,v
> retrieving revision 1.1.1.7
> diff -u -r1.1.1.7 rsio.c
> --- rsio.c	9 Jul 2002 17:51:30 -0000	1.1.1.7
> +++ rsio.c	14 Jul 2002 04:02:15 -0000
> @@ -501,12 +501,14 @@
>              i++;
>          }
>      }
> +#if 0
>      if (i =3D=3D 0)
>      {
>          /* Zero channels is invalid! */
> =20
>          return_ACPI_STATUS (AE_BAD_DATA);
>      }
> +#endif
>      OutputStruct->Data.Dma.NumberOfChannels =3D i;
> =20
> =20
> Index: rsirq.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: /home/ncvs/src/sys/contrib/dev/acpica/rsirq.c,v
> retrieving revision 1.1.1.9
> diff -u -r1.1.1.9 rsirq.c
> --- rsirq.c	9 Jul 2002 17:51:30 -0000	1.1.1.9
> +++ rsirq.c	14 Jul 2002 03:30:02 -0000
> @@ -190,12 +190,14 @@
>          }
>      }
> =20
> +#if 0
>      if (i =3D=3D 0)
>      {
>          /* Zero interrupts is invalid! */
> =20
>          return_ACPI_STATUS (AE_BAD_DATA);
>      }
> +#endif
>      OutputStruct->Data.Irq.NumberOfInterrupts =3D i;
> =20
>      /*
> --=20
> Alexander Kabaev
>=20

Thanks! I'll give this a shot when I get home tonight. Gotta get to the
customer site right now, though.

Rob


--=20
Remember: the only difference between
being the champ and the chump is u.

--=-plYqx9gy2UdYIwsTu8Gr
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Comment: Please use bofh key to send me personal data.

iD8DBQA9OAps/9y+qWKu6HERAgvaAKCGQ3+tS9rGPzzXpIw676xQRw5Q/QCfbz91
dA2f1biR5Yy4wKEO5M+2lec=
=CkPP
-----END PGP SIGNATURE-----

--=-plYqx9gy2UdYIwsTu8Gr--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1027082860.1526.24.camel>