| 645 | } |
| 646 | |
| 647 | static int |
| 648 | tegra_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 | |
| 661 | static int |
| 662 | tegra_ahci_attach(device_t dev) |
nothing calls this directly
no test coverage detected