---
name: "sata_down_spd_limit"
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_down_spd_limit"
---

# sata\_down\_spd\_limit(9)

adjust SATA spd limit downward

## NAME

sata\_down\_spd\_limit - adjust SATA spd limit downward

## SYNOPSIS

**int sata\_down\_spd\_limit(struct ata\_link \*** *link***, u32** *spd\_limit***);**

## ARGUMENTS

*link*

Link to adjust SATA spd limit for

*spd\_limit*

Additional limit

## DESCRIPTION

Adjust SATA spd limit of *link* downward. Note that this function only adjusts the limit. The change must be applied using **sata\_set\_spd**.

If *spd\_limit* is non-zero, the speed is limited to equal to or lower than *spd\_limit* if such speed is supported. If *spd\_limit* is slower than any supported speed, only the lowest supported speed is allowed.

LOCKING: Inherited from caller.

## RETURN

0 on success, negative errno on failure

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
