git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5446a6b
)
PCI: don't corrupt enable_cnt when doing manual resource alignment
author
Yuji Shimada
<shimada-yxb@necst.nec.co.jp>
Mon, 6 Apr 2009 01:24:21 +0000
(10:24 +0900)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 6 Apr 2009 18:27:58 +0000
(11:27 -0700)
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>
drivers/pci/quirks.c
patch
|
blob
|
history
diff --cc
drivers/pci/quirks.c
Simple merge