ata_host_register9
Register initialized ata host
Usage
int ata_host_register(struct ata_host * host, struct scsi_host_template * sht);
Arguments
host
ATA host to register
sht
template for SCSI host
Overview
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.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.