MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nexus_attach

Function nexus_attach

freebsd/mips/mips/nexus.c:203–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203static int
204nexus_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
220static int
221nexus_print_child(device_t bus, device_t child)

Callers

nothing calls this directly

Calls 4

mips_pic_map_fixed_intrsFunction · 0.85
bus_generic_probeFunction · 0.85
bus_generic_attachFunction · 0.85

Tested by

no test coverage detected