1. NAME

sata_set_spd_needed - is SATA spd configuration needed

2. SYNOPSIS

int sata_set_spd_needed(struct ata_link *  link );

3. ARGUMENTS

link
    Link in question

4. DESCRIPTION

Test whether the spd limit in SControl matches link->sata_spd_limit. This function is used to determine whether hardreset is necessary to apply SATA spd configuration.

5. LOCKING

Inherited from caller.

6. RETURNS

1 if SATA spd configuration is needed, 0 otherwise.

7. AUTHOR

Jeff Garzik
    Author.

8. COPYRIGHT