Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39763
b: refs/heads/master
c: 60b2a46
h: refs/heads/master
i:
  39761: 6ffc842
  39759: 56b471c
v: v3
  • Loading branch information
Randy Vinson authored and Paul Mackerras committed Oct 16, 2006
1 parent b950b48 commit ac7433c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ba738c2bb8fb83c0c99f680444d3ffd4c178ca2
refs/heads/master: 60b2a46cd60c54bd6551ddfa01f0aab08ca58a5d
12 changes: 6 additions & 6 deletions trunk/arch/powerpc/kernel/pci_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,14 +441,14 @@ update_bridge_base(struct pci_bus *bus, int i)
end = res->end - off;
io_base_lo = (start >> 8) & PCI_IO_RANGE_MASK;
io_limit_lo = (end >> 8) & PCI_IO_RANGE_MASK;
if (end > 0xffff) {
pci_write_config_word(dev, PCI_IO_BASE_UPPER16,
start >> 16);
pci_write_config_word(dev, PCI_IO_LIMIT_UPPER16,
end >> 16);
if (end > 0xffff)
io_base_lo |= PCI_IO_RANGE_TYPE_32;
} else
else
io_base_lo |= PCI_IO_RANGE_TYPE_16;
pci_write_config_word(dev, PCI_IO_BASE_UPPER16,
start >> 16);
pci_write_config_word(dev, PCI_IO_LIMIT_UPPER16,
end >> 16);
pci_write_config_byte(dev, PCI_IO_BASE, io_base_lo);
pci_write_config_byte(dev, PCI_IO_LIMIT, io_limit_lo);

Expand Down

0 comments on commit ac7433c

Please sign in to comment.