mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
MIPS: pci-legacy: remove redundant info messages
Remove the following pci-legacy message:
PCI host bridge /pci@440000/host-bridge ranges:
MEM 0x0000000020000000..0x000000002fffffff
IO 0x0000000000460000..0x000000000046ffff
It is followed shortly by the same data from pci_register_host_bridge:
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
pci_bus 0000:00: root bus resource [io 0x460000-0x46ffff]
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
3ecb9dc158
commit
317f553bb6
|
|
@ -140,7 +140,6 @@ void pci_load_of_ranges(struct pci_controller *hose, struct device_node *node)
|
|||
struct of_pci_range range;
|
||||
struct of_pci_range_parser parser;
|
||||
|
||||
pr_info("PCI host bridge %pOF ranges:\n", node);
|
||||
hose->of_node = node;
|
||||
|
||||
if (of_pci_range_parser_init(&parser, node))
|
||||
|
|
@ -151,18 +150,12 @@ void pci_load_of_ranges(struct pci_controller *hose, struct device_node *node)
|
|||
|
||||
switch (range.flags & IORESOURCE_TYPE_BITS) {
|
||||
case IORESOURCE_IO:
|
||||
pr_info(" IO 0x%016llx..0x%016llx\n",
|
||||
range.cpu_addr,
|
||||
range.cpu_addr + range.size - 1);
|
||||
hose->io_map_base =
|
||||
(unsigned long)ioremap(range.cpu_addr,
|
||||
range.size);
|
||||
res = hose->io_resource;
|
||||
break;
|
||||
case IORESOURCE_MEM:
|
||||
pr_info(" MEM 0x%016llx..0x%016llx\n",
|
||||
range.cpu_addr,
|
||||
range.cpu_addr + range.size - 1);
|
||||
res = hose->mem_resource;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user