1. NAME

ata_msleep - ATA EH owner aware msleep

2. SYNOPSIS

void ata_msleep(struct ata_port *  ap , unsigned int  msecs );

3. ARGUMENTS

ap
    ATA port to attribute the sleep to

msecs
    duration to sleep in milliseconds

4. DESCRIPTION

Sleeps msecs. If the current task is owner of apAqs EH, the ownership is released before going to sleep and reacquired after the sleep is complete. IOW, other ports sharing the ap->host will be allowed to own the EH while this task is sleeping.

5. LOCKING

Might sleep.

6. AUTHOR

Jeff Garzik
    Author.

7. COPYRIGHT