From owner-freebsd-current Fri Jul 19 5:54:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CB4437B400 for ; Fri, 19 Jul 2002 05:54:32 -0700 (PDT) Received: from mail.robhughes.com (12-237-138-77.client.attbi.com [12.237.138.77]) by mx1.FreeBSD.org (Postfix) with SMTP id B1CB843E81 for ; Fri, 19 Jul 2002 05:54:31 -0700 (PDT) (envelope-from rob@robhughes.com) Received: (qmail 20661 invoked from network); 19 Jul 2002 12:47:50 -0000 Received: from hexch01.robhughes.com (192.168.1.3) by ns2.robhughes.com with SMTP; 19 Jul 2002 12:47:50 -0000 Received: from kahuna-ws.robhughes.com ([192.168.1.16]) by HEXCH01.robhughes.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 19 Jul 2002 07:47:40 -0500 Subject: Re: (Sort of) Solved Re: Current (DP1) on Toshiba 5005 From: Rob Hughes To: freebsd-current@FreeBSD.ORG 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-plYqx9gy2UdYIwsTu8Gr" X-Mailer: Ximian Evolution 1.0.7 (1.0.7-2) Date: 19 Jul 2002 07:47:40 -0500 Message-Id: <1027082860.1526.24.camel@kahuna-ws.robhughes.com> Mime-Version: 1.0 X-OriginalArrivalTime: 19 Jul 2002 12:47:40.0675 (UTC) FILETIME=[77E5FD30:01C22F22] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-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 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