Rev 4011 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4011 | Rev 4220 | ||
|---|---|---|---|
| Line 125... | Line 125... | ||
| 125 | controller = ofw_tree_find_node_by_handle(ofw_tree_lookup("/"), |
125 | controller = ofw_tree_find_node_by_handle(ofw_tree_lookup("/"), |
| 126 | intr_map[i].controller_handle); |
126 | intr_map[i].controller_handle); |
| 127 | if (!controller) |
127 | if (!controller) |
| 128 | return false; |
128 | return false; |
| 129 | 129 | ||
| 130 | if (strcmp(ofw_tree_node_name(controller), "pci") != 0) { |
130 | if (str_cmp(ofw_tree_node_name(controller), "pci") != 0) { |
| 131 | /* |
131 | /* |
| 132 | * This is not a PCI node. |
132 | * This is not a PCI node. |
| 133 | */ |
133 | */ |
| 134 | return false; |
134 | return false; |
| 135 | } |
135 | } |