From owner-acpi-jp@jp.FreeBSD.org Sun Sep 15 12:33:06 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g8F3X6525953;
	Sun, 15 Sep 2002 12:33:06 +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 g8F3X3325915
	for <acpi-jp@jp.FreeBSD.org>; Sun, 15 Sep 2002 12:33:03 +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 g8F3WuY06788
	for <acpi-jp@jp.FreeBSD.org>; Sun, 15 Sep 2002 12:32:56 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Message-Id: <20020915.123248.35498587.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.FreeBSD.org
From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
In-Reply-To: <20020912.054603.74756842.iwasaki@jp.FreeBSD.org>
References: <20020906.011404.46053494.imp@bsdimp.com>
	<20020910.203513.74756349.iwasaki@jp.FreeBSD.org>
	<20020912.054603.74756842.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: Sun, 15 Sep 2002 12:32:48 +0900
X-Sequence: acpi-jp 1825
Subject: [acpi-jp 1825] acpi_pci_link driver (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've updated acpi_pci_link patches:
http://people.freebsd.org/~iwasaki/acpi/acpi_pci_link-20020915.diff

Auto-PCI IRQ fixup for boot-disabled links have been supported in this
version.  Please test this, I'll commit next week-end hopefully.

If you have problems about IRQ after resume, try this too:
http://people.freebsd.org/~iwasaki/acpi/pci_resume-20020914.diff

Thanks

> 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
