ata: ahci: a hotplug capable port is an external port
authorNiklas Cassel <cassel@kernel.org>
Tue, 6 Feb 2024 21:13:43 +0000 (22:13 +0100)
committerNiklas Cassel <cassel@kernel.org>
Fri, 9 Feb 2024 09:30:50 +0000 (10:30 +0100)
commit45b96d65ec68f625ad26ee16d2f556e29f715005
tree6b93adc1dbe6e3cdf909d00d43113d9812fd1650
parentf7131935238d00745638b826f8c31efc8d361435
ata: ahci: a hotplug capable port is an external port

A hotplug capable port is an external port, so mark it as such.

We even say this ourselves in libata-scsi.c:
/* set scsi removable (RMB) bit per ata bit, or if the
 * AHCI port says it's external (Hotplug-capable, eSATA).
 */

This also matches the terminology used in AHCI 1.3.1
(the keyword to search for is "externally accessible").

Tested-by: Damien Le Moal <dlemoal@kernel.org>
Tested-by: Jian-Hong Pan <jhp@endlessos.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
drivers/ata/ahci.c