carta
sata_scr_read(9)

sata_scr_read9

Read scr register of the specified port

Arguments

link

ATA link to read SCR for

reg

SCR to read

val

Place to store read value

Overview

Read SCR register reg of link into *val. This function is guaranteed to succeed if link is ap->link, the cable type of the port is SATA and the port implements ->scr_read.

LOCKING: None if link is ap->link. Kernel thread context otherwise.

Return

0 on success, negative errno on failure.

History

  • Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.