projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d90a93
)
Fix PCI_BASE_ADDRESS_5 handling in pci_hose_config_device()
author
Wolfgang Denk
<
[email protected]
>
Tue, 9 Mar 2010 13:27:25 +0000
(14:27 +0100)
committer
Wolfgang Denk
<
[email protected]
>
Sun, 21 Mar 2010 16:58:07 +0000
(17:58 +0100)
Signed-off-by: FUJITA Kazutoshi <
[email protected]
>
Signed-off-by: <
[email protected]
>
Acked-by: Stefan Roese <
[email protected]
>
drivers/pci/pci.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pci.c
b/drivers/pci/pci.c
index d6d2d6e4ad63f42bcfcab9ab3d94c76ecccbc3dc..cd64a87fc6d9b200ed805ae1e6f5a7e014180435 100644
(file)
--- a/
drivers/pci/pci.c
+++ b/
drivers/pci/pci.c
@@
-388,7
+388,7
@@
int pci_hose_config_device(struct pci_controller *hose,
pci_hose_write_config_dword (hose, dev, PCI_COMMAND, 0);
- for (bar = PCI_BASE_ADDRESS_0; bar < PCI_BASE_ADDRESS_5; bar += 4) {
+ for (bar = PCI_BASE_ADDRESS_0; bar <
=
PCI_BASE_ADDRESS_5; bar += 4) {
pci_hose_write_config_dword (hose, dev, bar, 0xffffffff);
pci_hose_read_config_dword (hose, dev, bar, &bar_response);