Driver Entry Points sata_tran_selftest(9E) NAME sata_tran_selftest - test SATA HBA or specified SATA port SYNOPSIS #include int sata_tran_selftest(dev_info_t *dev_info, sata_device_t *sata_device); INTERFACE LEVEL Consolidation Private PARAMETERS dev_info Pointer to a dev_info_t structure, referring to the HBA device instance. sata_device Pointer to sata_device structure identifying the target port. If sata_address embedded in sata_device structure does not refer to a valid SATA port, the request refers to the entire SATA controller. If the request specifies a single SATA port, an attached device has to be unconfigured (offlined) first. If the request refers to the entire SATA controller, all SATA devices attached to the controllers ports and devices attached to connected port multipliers's device ports have to be unconfigured (offlined) before the request. DESCRIPTION sata_tran_selftest() function is called by SATA Framework to perform a self test operation of the SATA HBA or a specified SATA device port. RETURN VALUE Returns SATA_SUCCESS on success or SATA_FAILURE on failure. The failure of the port self-test sets the port in an unusable state. SEE ALSO sata_hba_tran(9S), sata_hba_init(9F), sata_hba_fini(9F), sata_hba_attach(9F), sata_hba_detach(9F), sata_hba_event_notify(9F), sata_tran_probe_port(9F), sata_tran_start(9F), sata_tran_abort(9f), sata_tran_reset_dport(9F), sata_tran_hotplug_ops(9S), sata_tran_pwrmgt_ops(9S), sata_tran_ioctl(9F), sata_address(9S), sata_device(9S), sata_pkt(9S)