From owner-acpi-jp@jp.FreeBSD.org Fri Jul 26 05:32:06 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g6PKW6e37424;
	Fri, 26 Jul 2002 05:32:06 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from melete.ch.intel.com (chfdns02.ch.intel.com [143.182.246.25])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g6PKUin37261;
	Fri, 26 Jul 2002 05:30:44 +0900 (JST)
	(envelope-from robert.moore@intel.com)
Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128])
	by melete.ch.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.42 2002/05/23 22:21:11 root Exp $) with SMTP id g6PKUf126712;
	Thu, 25 Jul 2002 20:30:43 GMT
Received: from FMSMSX018.fm.intel.com ([132.233.42.197])
 by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002072513313622314
 ; Thu, 25 Jul 2002 13:31:36 -0700
Received: by fmsmsx018.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <3WZHNT7C>; Thu, 25 Jul 2002 13:30:41 -0700
Message-ID: <B9ECACBD6885D5119ADC00508B68C1EA0D19B689@orsmsx107.jf.intel.com>
From: "Moore, Robert" <robert.moore@intel.com>
To: "'Mitsuru IWASAKI'" <iwasaki@jp.FreeBSD.org>, acpi-jp@jp.FreeBSD.org
Date: Thu, 25 Jul 2002 13:30:37 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
X-Sequence: acpi-jp 1691
Subject: [acpi-jp 1691] RE: ACPICA import broke Thinkpad 770ED + patch
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: robert.moore@intel.com
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020725


I have added support to allow zero channels and zero interrupts.  This will
appear in our next release.

Bob


-----Original Message-----
From: Mitsuru IWASAKI [mailto:iwasaki@jp.FreeBSD.org]
Sent: Wednesday, July 17, 2002 3:49 PM
To: acpi-jp@jp.FreeBSD.org; robert.moore@intel.com
Subject: Re: [acpi-jp 1687] RE: ACPICA import broke Thinkpad 770ED +
patch


> Send me the patch, we will look at it.

OK, attached.

Thanks

Index: rsio.c
===================================================================
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	12 Jul 2002 17:33:59 -0000
@@ -501,12 +501,14 @@
             i++;
         }
     }
+#if 0
     if (i == 0)
     {
         /* Zero channels is invalid! */
 
         return_ACPI_STATUS (AE_BAD_DATA);
     }
+#endif
     OutputStruct->Data.Dma.NumberOfChannels = i;
 
 
Index: rsirq.c
===================================================================
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	12 Jul 2002 17:34:08 -0000
@@ -190,12 +190,14 @@
         }
     }
 
+#if 0
     if (i == 0)
     {
         /* Zero interrupts is invalid! */
 
         return_ACPI_STATUS (AE_BAD_DATA);
     }
+#endif
     OutputStruct->Data.Irq.NumberOfInterrupts = i;
 
     /*
