other versions
- stretch 4.9.168-1
ATA_HOST_REGISTER(9) | libata Library | ATA_HOST_REGISTER(9) |
NAME¶
ata_host_register - register initialized ATA hostSYNOPSIS¶
int ata_host_register(struct ata_host * host, struct scsi_host_template * sht);
ARGUMENTS¶
hostATA host to register
sht
template for SCSI host
DESCRIPTION¶
Register initialized ATA host. host is allocated using ata_host_alloc and fully initialized by LLD. This function starts ports, registers host with ATA and SCSI layers and probe registered devices.LOCKING: Inherited from calling layer (may sleep).
RETURN¶
0 on success, -errno otherwise.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |