1. NAME

sata_set_spd - set SATA spd according to spd limit

2. SYNOPSIS

int sata_set_spd(struct ata_link *  link );

3. ARGUMENTS

link
    Link to set SATA spd for

4. DESCRIPTION

Set SATA spd of link according to sata_spd_limit.

5. LOCKING

Inherited from caller.

6. RETURNS

0 if spd doesnAqt need to be changed, 1 if spd has been changed. Negative errno if SCR registers are inaccessible.

7. AUTHOR

Jeff Garzik
    Author.

8. COPYRIGHT