Subject: CVS commit: src/sys/arch/i386
To: None <source-changes@NetBSD.org>
From: Jared D. McNeill <jmcneill@netbsd.org>
List: source-changes
Date: 06/22/2006 16:24:34
Module Name:	src
Committed By:	jmcneill
Date:		Thu Jun 22 16:24:34 UTC 2006

Modified Files:
	src/sys/arch/i386/acpi: acpi_wakeup.c
	src/sys/arch/i386/pci: pci_intr_fixup.c pci_intr_fixup.h piix.c
	    piixpcib.c

Log Message:
Add an 'uninit' callback to PCI ICU drivers. This allows (for example) the
PIIX support to release its mapping on the edge/level control registers.

Now that these are guaranteed to be unmapped, capture and restore the
registers in piixpcib(4)'s powerhook. The same will need to be done on a
per-chipset basis.

Concerns were raised about calling pci_intr_fixup on resume WRT hotplug
devices, so this has been removed.

Ok cube@.


To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 src/sys/arch/i386/acpi/acpi_wakeup.c
cvs rdiff -r1.41 -r1.42 src/sys/arch/i386/pci/pci_intr_fixup.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/i386/pci/pci_intr_fixup.h
cvs rdiff -r1.10 -r1.11 src/sys/arch/i386/pci/piix.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/i386/pci/piixpcib.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.