1. NAME

ata_host_register - register initialized ATA host

2. SYNOPSIS

int ata_host_register(struct ata_host *  host , struct scsi_host_template *  sht );

3. ARGUMENTS

host
    ATA host to register

sht
    template for SCSI host

4. 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.

5. LOCKING

Inherited from calling layer (may sleep).

6. RETURNS

0 on success, -errno otherwise.

7. AUTHOR

Jeff Garzik
    Author.

8. COPYRIGHT