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

Function tegra_ahci_probe

freebsd/arm/nvidia/tegra_ahci.c:647–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647static int
648tegra_ahci_probe(device_t dev)
649{
650
651 if (!ofw_bus_status_okay(dev))
652 return (ENXIO);
653
654 if (!ofw_bus_search_compatible(dev, compat_data)->ocd_data)
655 return (ENXIO);
656
657 device_set_desc_copy(dev, "AHCI SATA controller");
658 return (BUS_PROBE_DEFAULT);
659}
660
661static int
662tegra_ahci_attach(device_t dev)

Callers

nothing calls this directly

Calls 1

device_set_desc_copyFunction · 0.85

Tested by

no test coverage detected