- int ata_host_register(struct ata_host * host, struct scsi_host_template * sht);
- ATA host to register
- template for SCSI host
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.
Inherited from calling layer (may sleep).
0 on success, -errno otherwise.