diff options
author | 2017-01-23 14:33:36 -0500 | |
---|---|---|
committer | 2017-01-23 14:35:17 -0500 | |
commit | 589d572671fe7ca342d25cde07a0e310a6912971 (patch) | |
tree | 1320912a578de647f54598f3bfbb2d6faa1c9e83 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pata_octeon_cf: remove unused local variables from octeon_cf_set_piomode() (diff) | |
download | wireguard-linux-589d572671fe7ca342d25cde07a0e310a6912971.tar.xz wireguard-linux-589d572671fe7ca342d25cde07a0e310a6912971.zip |
libata-sff: Don't scan disabled ports when checking for legacy mode.
libata-sff.c checks for legacy mode by testing if both primary and
secondary ports on a controller are in legacy mode and selects legacy
if either one is. However on some south bridge chips (e.g AMD
SB600/SB700) the secondary port is not wired, and when it is disabled
by setting the disable bit in the PCI header it appears as a fixed
legacy port.
Prevent incorrect detection by not testing ports that are marked as
'dummy'
tj: Addressed Sergei's review points. Other style edits.
Signed-off-by: Darren Stevens <darren@stevens-zone.net>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions