Skip to content
Commit 25bc9865 authored by Andrey Jr. Melnikov's avatar Andrey Jr. Melnikov Committed by Greg Kroah-Hartman
Browse files

ahci: asm1064: correct count of reported ports

[ Upstream commit 9815e396

 ]

The ASM1064 SATA host controller always reports wrongly,
that it has 24 ports. But in reality, it only has four ports.

before:
ahci 0000:04:00.0: SSS flag set, parallel bus scan disabled
ahci 0000:04:00.0: AHCI 0001.0301 32 slots 24 ports 6 Gbps 0xffff0f impl SATA mode
ahci 0000:04:00.0: flags: 64bit ncq sntf stag pm led only pio sxs deso sadm sds apst

after:
ahci 0000:04:00.0: ASM1064 has only four ports
ahci 0000:04:00.0: forcing port_map 0xffff0f -> 0xf
ahci 0000:04:00.0: SSS flag set, parallel bus scan disabled
ahci 0000:04:00.0: AHCI 0001.0301 32 slots 24 ports 6 Gbps 0xf impl SATA mode
ahci 0000:04:00.0: flags: 64bit ncq sntf stag pm led only pio sxs deso sadm sds apst

Signed-off-by: default avatar"Andrey Jr. Melnikov" <temnota.am@gmail.com>
Signed-off-by: default avatarNiklas Cassel <cassel@kernel.org>
Stable-dep-of: 6cd8adc3

 ("ahci: asm1064: asm1166: don't limit reported ports")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 09c3fa70
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment