ATA_HOST_REGISTER(9) libata Library ATA_HOST_REGISTER(9)NAMEata_host_register - register initialized ATA hostSYNOPSISint ata_host_register(struct ata_host * host, struct scsi_host_template * sht);ARGUMENTShost ATA host to register sht template for SCSI hostDESCRIPTIONRegister 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.LOCKINGInherited from calling layer (may sleep).RETURNS0 on success, -errno otherwise.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 ATA_HOST_REGISTER(9)