---
name: "sata_set_spd_needed"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sata_set_spd_needed"
---

# sata\_set\_spd\_needed(9)

is SATA spd configuration needed

## NAME

sata\_set\_spd\_needed - is SATA spd configuration needed

## SYNOPSIS

**int sata\_set\_spd\_needed(struct ata\_link \*** *link***);**

## ARGUMENTS

*link*

Link in question

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

LOCKING: Inherited from caller.

## RETURN

1 if SATA spd configuration is needed, 0 otherwise.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
