From owner-acpi-jp@jp.FreeBSD.org Thu Sep 12 05:46:17 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g8BKkHH25136;
	Thu, 12 Sep 2002 05:46:17 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from tasogare.imasy.or.jp (root@tasogare.imasy.or.jp [202.227.24.5])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g8BKkF325131
	for <acpi-jp@jp.FreeBSD.org>; Thu, 12 Sep 2002 05:46:16 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Received: from localhost (iwa@tasogare.imasy.or.jp [202.227.24.5])
	by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id g8BKk9Y59167
	for <acpi-jp@jp.FreeBSD.org>; Thu, 12 Sep 2002 05:46:10 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Message-Id: <20020912.054603.74756842.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.FreeBSD.org
From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
In-Reply-To: <20020910.203513.74756349.iwasaki@jp.FreeBSD.org>
References: <20020906.153126.130627270.iwasaki@jp.FreeBSD.org>
	<20020906.011404.46053494.imp@bsdimp.com>
	<20020910.203513.74756349.iwasaki@jp.FreeBSD.org>
X-Mailer: Mew version 2.1 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 12 Sep 2002 05:46:03 +0900
X-Sequence: acpi-jp 1818
Subject: [acpi-jp 1818] Re: acpi issue on my Fiva 205
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: iwasaki@jp.FreeBSD.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020902

Hi, I revised my acpi_pci_link driver and put it at:
http://people.freebsd.org/~iwasaki/acpi/acpi_pci_link-20020911.diff
You also need a patch attached in [acpi-jp 1815].
This version supports restoring current IRQ setting after resume.
# means you can use NEWCARD after resume on FIVA :-)

For FIVA NEWCARD users: please put these 2 lines in your /boot/loader.conf.
----
hw.acpi.pci.link.0.10.0.irq="11"
hw.acpi.pci.link.0.10.1.irq="11"
----
* IRQ 10 also can be used for PCCard controllers.

I noticed that NO interrupts raised from PCCard controllers after
resume.  It seems that all current irq settings to ACPI PCI Link
object are cleared and default PCI INTLINE settings are restored at
resume time :-(
Also it's difficult to redo interrupt routing setting in resume method
for me, so I added pci_cfgwrite() in acpi_pci_link_set_irq() again.
# sorry, John
I'll remove it after resume method is implemented so that interrupt
routing is set at resume time.

Thanks
