]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Fix multiple problems with VIA hardware
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 4 Dec 2006 23:14:45 +0000 (15:14 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Dec 2006 18:54:43 +0000 (10:54 -0800)
commit42d50f6a9f1288f272e8fb6c654ac92941b999bb
tree23036b221b31f154118582af7dbc5cd35fc97bc8
parent94da9b6ab5a28640f95dd6183b79d65c309d9ec7
PCI: Fix multiple problems with VIA hardware

This patch is designed to fix:
- Disk eating corruptor on KT7 after resume from RAM
- VIA IRQ handling
- VIA fixups for bus lockups after resume from RAM

The core of this is to add a table of resume fixups run at resume time.
We need to do this for a variety of boards and features, but particularly
we need to do this to get various critical VIA fixups done on resume.

The second part of the problem is to handle VIA IRQ number rules which
are a bit odd and need special handling for PIC interrupts. Various
patches broke various boxes and while this one may not be perfect
(hopefully it is) it ensures the workaround is applied to the right
devices only.

From: Jean Delvare <khali@linux-fr.org>

Now that PCI quirks are replayed on software resume, we can safely
re-enable the Asus SMBus unhiding quirk even when software suspend support
is enabled.

[akpm@osdl.org: fix const warning]
Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/pci/fixup.c
drivers/pci/pci-driver.c
drivers/pci/quirks.c
drivers/pci/search.c
include/asm-generic/vmlinux.lds.h
include/linux/pci.h