diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-11-14 13:28:18 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-11-14 13:28:18 -0500 |
commit | f7625980f5820edd1a73536e1a03bcbc1f889fec (patch) | |
tree | 145e76f39b3e1d08d3e7a48a0993c0cd59088cc6 /drivers/pci/setup-bus.c | |
parent | 4fbf888accb39af423f271111d44e8186f053723 (diff) |
PCI: Fix whitespace, capitalization, and spelling errors
Fix whitespace, capitalization, and spelling errors. No functional change.
I know "busses" is not an error, but "buses" was more common, so I used it
consistently.
Signed-off-by: Marta Rybczynska <rybczynska@gmail.com> (pci_reset_bridge_secondary_bus())
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/pci/setup-bus.c')
-rw-r--r-- | drivers/pci/setup-bus.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index 4ce83b26ae9e..219a4106480a 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c | |||
@@ -292,8 +292,8 @@ static void assign_requested_resources_sorted(struct list_head *head, | |||
292 | (!(res->flags & IORESOURCE_ROM_ENABLE)))) | 292 | (!(res->flags & IORESOURCE_ROM_ENABLE)))) |
293 | add_to_list(fail_head, | 293 | add_to_list(fail_head, |
294 | dev_res->dev, res, | 294 | dev_res->dev, res, |
295 | 0 /* dont care */, | 295 | 0 /* don't care */, |
296 | 0 /* dont care */); | 296 | 0 /* don't care */); |
297 | } | 297 | } |
298 | reset_resource(res); | 298 | reset_resource(res); |
299 | } | 299 | } |
@@ -667,9 +667,9 @@ static void pci_bridge_check_ranges(struct pci_bus *bus) | |||
667 | if (!io) { | 667 | if (!io) { |
668 | pci_write_config_word(bridge, PCI_IO_BASE, 0xf0f0); | 668 | pci_write_config_word(bridge, PCI_IO_BASE, 0xf0f0); |
669 | pci_read_config_word(bridge, PCI_IO_BASE, &io); | 669 | pci_read_config_word(bridge, PCI_IO_BASE, &io); |
670 | pci_write_config_word(bridge, PCI_IO_BASE, 0x0); | 670 | pci_write_config_word(bridge, PCI_IO_BASE, 0x0); |
671 | } | 671 | } |
672 | if (io) | 672 | if (io) |
673 | b_res[0].flags |= IORESOURCE_IO; | 673 | b_res[0].flags |= IORESOURCE_IO; |
674 | /* DECchip 21050 pass 2 errata: the bridge may miss an address | 674 | /* DECchip 21050 pass 2 errata: the bridge may miss an address |
675 | disconnect boundary by one PCI data phase. | 675 | disconnect boundary by one PCI data phase. |
@@ -819,7 +819,7 @@ static void pbus_size_io(struct pci_bus *bus, resource_size_t min_size, | |||
819 | resource_size_t min_align, align; | 819 | resource_size_t min_align, align; |
820 | 820 | ||
821 | if (!b_res) | 821 | if (!b_res) |
822 | return; | 822 | return; |
823 | 823 | ||
824 | min_align = window_alignment(bus, IORESOURCE_IO); | 824 | min_align = window_alignment(bus, IORESOURCE_IO); |
825 | list_for_each_entry(dev, &bus->devices, bus_list) { | 825 | list_for_each_entry(dev, &bus->devices, bus_list) { |
@@ -950,7 +950,7 @@ static int pbus_size_mem(struct pci_bus *bus, unsigned long mask, | |||
950 | if (realloc_head && i >= PCI_IOV_RESOURCES && | 950 | if (realloc_head && i >= PCI_IOV_RESOURCES && |
951 | i <= PCI_IOV_RESOURCE_END) { | 951 | i <= PCI_IOV_RESOURCE_END) { |
952 | r->end = r->start - 1; | 952 | r->end = r->start - 1; |
953 | add_to_list(realloc_head, dev, r, r_size, 0/* dont' care */); | 953 | add_to_list(realloc_head, dev, r, r_size, 0/* don't care */); |
954 | children_add_size += r_size; | 954 | children_add_size += r_size; |
955 | continue; | 955 | continue; |
956 | } | 956 | } |
@@ -1456,8 +1456,8 @@ static enum enable_type pci_realloc_detect(struct pci_bus *bus, | |||
1456 | 1456 | ||
1457 | /* | 1457 | /* |
1458 | * first try will not touch pci bridge res | 1458 | * first try will not touch pci bridge res |
1459 | * second and later try will clear small leaf bridge res | 1459 | * second and later try will clear small leaf bridge res |
1460 | * will stop till to the max deepth if can not find good one | 1460 | * will stop till to the max depth if can not find good one |
1461 | */ | 1461 | */ |
1462 | void pci_assign_unassigned_root_bus_resources(struct pci_bus *bus) | 1462 | void pci_assign_unassigned_root_bus_resources(struct pci_bus *bus) |
1463 | { | 1463 | { |