|
Lines 204-212
static void __init setup_peg2(struct pci
Link Here
|
| 204 |
struct device_node *root = find_path_device("/"); |
204 |
struct device_node *root = find_path_device("/"); |
| 205 |
struct device_node *rtas; |
205 |
struct device_node *rtas; |
| 206 |
|
206 |
|
|
|
207 |
of_node_get(root); |
| 207 |
rtas = of_find_node_by_name (root, "rtas"); |
208 |
rtas = of_find_node_by_name (root, "rtas"); |
| 208 |
if (rtas) { |
209 |
if (rtas) { |
| 209 |
hose->ops = &rtas_pci_ops; |
210 |
hose->ops = &rtas_pci_ops; |
|
|
211 |
of_node_put(rtas); |
| 210 |
} else { |
212 |
} else { |
| 211 |
printk ("RTAS supporting Pegasos OF not found, please upgrade" |
213 |
printk ("RTAS supporting Pegasos OF not found, please upgrade" |
| 212 |
" your firmware\n"); |
214 |
" your firmware\n"); |