| 201 | } |
| 202 | |
| 203 | static int |
| 204 | nexus_attach(device_t dev) |
| 205 | { |
| 206 | #if defined(INTRNG) && !defined(FDT) |
| 207 | int error; |
| 208 | |
| 209 | if ((error = mips_pic_map_fixed_intrs())) |
| 210 | return (error); |
| 211 | #endif |
| 212 | |
| 213 | bus_generic_probe(dev); |
| 214 | bus_enumerate_hinted_children(dev); |
| 215 | bus_generic_attach(dev); |
| 216 | |
| 217 | return (0); |
| 218 | } |
| 219 | |
| 220 | static int |
| 221 | nexus_print_child(device_t bus, device_t child) |
nothing calls this directly
no test coverage detected