diff options
author | Yuji Shimada <shimada-yxb@necst.nec.co.jp> | 2009-04-06 03:24:21 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-04-06 20:27:58 +0200 |
commit | 0cdbe30f0b04466a1fee11b81b3667bd1b982549 (patch) | |
tree | 8efc02bd7f6fe405471eb343d936d384727cfea1 /drivers/pci/.gitignore | |
parent | PCI: annotate pci_rescan_bus as __ref, not __devinit (diff) | |
download | linux-0cdbe30f0b04466a1fee11b81b3667bd1b982549.tar.xz linux-0cdbe30f0b04466a1fee11b81b3667bd1b982549.zip |
PCI: don't corrupt enable_cnt when doing manual resource alignment
This patch fixes breakage of of enable_cnt in quirk_resource_alignment.
Currently, quirk_resource_alignment calls pci_disable_device.
pci_disable_device decrements enable_cnt, so that enable_cnt becomes -1.
The patch disables memory decoding, writing command register directly.
So enable_cnt is not broken.
Signed-off-by: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/.gitignore')
0 files changed, 0 insertions, 0 deletions