kernel-ark/arch/i386/pci
Jesse Barnes 40ee9e9f8d PCI: fix sysfs rom file creation for BIOS ROM shadows
At one time, if a BIOS ROM shadow was detected for the boot video
device (stored at offset 0xc0000), we'd set a special resource flag,
IORESOURCE_ROM_SHADOW, so that the sysfs ROM file code could handle
it properly.  That broke along the way somewhere though, so current
kernels will be missing 'rom' files in sysfs if the video device
doesn't have an explicit ROM BAR.

This patch fixes the regression by moving the video fixup quirk to a
little later in the boot cycle (to avoid having its work undone by
PCI resource allocation) and checking in the PCI sysfs code whether
a rom file should be created due to a shadow resource, which is also
moved to a little later in the boot cycle so it will occur after the
video fixup.  Tested and works on my i386 test box.

Signed-off-by:  Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-05-02 19:02:35 -07:00
..
acpi.c [PATCH] PCI: arch/i386/pci/acpi.c: use for_each_pci_dev 2006-01-09 12:13:15 -08:00
common.c [PATCH] MSI-X: fix resume crash 2007-03-28 13:59:37 -07:00
direct.c [PATCH] i386: Fix PCI BIOS config space access 2006-10-05 18:47:22 +02:00
early.c [PATCH] x86: add write_pci_config_byte() to direct PCI access routines 2006-12-07 02:14:10 +01:00
fixup.c PCI: fix sysfs rom file creation for BIOS ROM shadows 2007-05-02 19:02:35 -07:00
i386.c pci/i386: style cleanups 2006-12-01 14:36:58 -08:00
init.c [PATCH] i386: Fix PCI BIOS config space access 2006-10-05 18:47:22 +02:00
irq.c [PATCH] x86: remove last two pci_find offenders in the core code 2006-12-07 02:14:03 +01:00
legacy.c [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
Makefile [PATCH] mmconfig: Share parts of mmconfig code between i386 and x86-64 2007-02-13 13:26:20 +01:00
mmconfig-shared.c [PATCH] mmconfig: Move e820 check into pci_mmcfg_reject_broken() 2007-02-13 13:26:20 +01:00
mmconfig.c [PATCH] mmconfig: fix unreachable_devices() 2007-02-13 13:26:20 +01:00
numa.c [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
pcbios.c [PATCH] paravirt: Be careful about touching BIOS address space 2006-12-07 02:14:08 +01:00
pci.h [PATCH] mmconfig: fix unreachable_devices() 2007-02-13 13:26:20 +01:00
visws.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00