android_kernel_xiaomi_sm7250/arch/i386/pci
Rajesh Shah 53e4d30dd6 [PATCH] PCI: i386/x86_84: disable PCI resource decode on device disable
When a PCI device is disabled via pci_disable_device(), it's still
left decoding its BAR resource ranges even though its driver
will have likely released those regions (and may even have
unloaded). pci_enable_device() already explicitly enables
BAR resource decode for the device being enabled. This patch
disables resource decode for the PCI device being disabled,
making it symmetric with the enable call.

I saw this while doing something else, not because of a
problem report. Still, seems to be the correct thing to do.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-21 11:59:59 -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] PCI: i386/x86_84: disable PCI resource decode on device disable 2006-06-21 11:59:59 -07:00
direct.c [PATCH] i386/x86-64: Remove checks for value == NULL in PCI config space access 2006-04-11 06:38:57 -07:00
fixup.c [PATCH] gx1fb: (try to) play nicer with various BIOSes 2006-01-14 18:27:14 -08:00
i386.c [PATCH] PCI: i386/x86_84: disable PCI resource decode on device disable 2006-06-21 11:59:59 -07:00
init.c [PATCH] PCI: Give PCI config access initialization a defined ordering 2006-03-23 14:35:12 -08:00
irq.c [PATCH] PCI: fix via irq SATA patch 2006-04-27 13:00:51 -07:00
legacy.c [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
Makefile [PATCH] PCI: Give PCI config access initialization a defined ordering 2006-03-23 14:35:12 -08:00
mmconfig.c [PATCH] i386/x86-64: Remove checks for value == NULL in PCI config space access 2006-04-11 06:38:57 -07:00
numa.c [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
pcbios.c [PATCH] PCI: Give PCI config access initialization a defined ordering 2006-03-23 14:35:12 -08:00
pci.h [PATCH] PCI: i386/x86_84: disable PCI resource decode on device disable 2006-06-21 11:59:59 -07:00
visws.c [PATCH] visws: linkage fix 2005-08-07 10:00:38 -07:00