1. NAME

ata_host_start - start and freeze ports of an ATA host

2. SYNOPSIS

int ata_host_start(struct ata_host *  host );

3. ARGUMENTS

host
    ATA host to start ports for

4. DESCRIPTION

Start and then freeze ports of host. Started status is recorded in host->flags, so this function can be called multiple times. Ports are guaranteed to get started only once. If host->ops isnAqt initialized yet, its set to the first non-dummy port ops.

5. LOCKING

Inherited from calling layer (may sleep).

6. RETURNS

0 if all ports are started successfully, -errno otherwise.

7. AUTHOR

Jeff Garzik
    Author.

8. COPYRIGHT