1CABLE_IS_40WIRE(9)           libata Core Internals          CABLE_IS_40WIRE(9)
2
3
4

NAME

6       cable_is_40wire - 40/80/SATA decider
7

SYNOPSIS

9       int cable_is_40wire(struct ata_port * ap);
10

ARGUMENTS

12       ap
13           port to consider
14

DESCRIPTION

16       This function encapsulates the policy for speed management in one
17       place. At the moment we donĀ“t cache the result but there is a good case
18       for setting ap->cbl to the result when we are called with unknown
19       cables (and figuring out if it impacts hotplug at all).
20
21       Return 1 if the cable appears to be 40 wire.
22

AUTHOR

24       Jeff Garzik
25           Author.
26
28Kernel Hackers Manual 2.6.         June 2019                CABLE_IS_40WIRE(9)
Impressum