Thread (92 messages) 92 messages, 9 authors, 2014-07-25

[PATCH v8 8/9] pci: Add support for creating a generic host_bridge from device tree

From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-07-02 19:10:00
Also in: linux-devicetree, linux-pci, lkml

On Wednesday 02 July 2014 18:31:13 Will Deacon wrote:
quoted
quoted
quoted
+ err = of_pci_parse_bus_range(parent->of_node, bus_range);
+ if (err) {
+         dev_info(parent, "No bus range for %s, using default [0-255]\n",
+                 parent->of_node->full_name);
+         bus_range->start = 0;
+         bus_range->end = 255;
+         bus_range->flags = IORESOURCE_BUS;
What about bus_range->name?
Don't know! Is anyone using it?
I guess /proc/iomem prints it out? I set it in my current driver, if you
want to take a look.
I don't think the bus resources show up anywhere in procfs. Anyway, it's
always a good idea to give resources a name, if only for debugging purposes.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help