From: Rajesh Shah Date: Wed, 3 May 2006 22:27:47 +0000 (-0700) Subject: [PATCH] PCI: i386/x86_84: disable PCI resource decode on device disable X-Git-Tag: v2.6.18-rc1~1081^2~228^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53e4d30dd666d7f83598957ee4a415eefb47c9a6;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed