git: 6e9119768dad - main - tegra/ahci: do not advertise enclosure management facility

From: Michal Meloun <mmel_at_FreeBSD.org>
Date: Fri, 24 Dec 2021 19:37:33 UTC
The branch main has been updated by mmel:

URL: https://cgit.FreeBSD.org/src/commit/?id=6e9119768dad5289c188e8a07aada98783b52abf

commit 6e9119768dad5289c188e8a07aada98783b52abf
Author:     Michal Meloun <mmel@FreeBSD.org>
AuthorDate: 2021-12-24 19:25:36 +0000
Commit:     Michal Meloun <mmel@FreeBSD.org>
CommitDate: 2021-12-24 19:36:46 +0000

    tegra/ahci: do not advertise enclosure management facility
    
    It is not implemented in HW.
    
    MFC after:      1 week
---
 sys/arm/nvidia/tegra_ahci.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/arm/nvidia/tegra_ahci.c b/sys/arm/nvidia/tegra_ahci.c
index 80416bf3582a..d3d6d55fdc56 100644
--- a/sys/arm/nvidia/tegra_ahci.c
+++ b/sys/arm/nvidia/tegra_ahci.c
@@ -626,7 +626,6 @@ tegra_ahci_ctlr_reset(device_t dev)
 	reg &= ~T_AHCI_HBA_CAP_BKDR_NUM_PORTS(~0);
 	reg |= T_AHCI_HBA_CAP_BKDR_NUM_PORTS(0);
 	reg |= T_AHCI_HBA_CAP_BKDR_EXT_SATA;
-	reg |= T_AHCI_HBA_CAP_BKDR_ENCL_MGMT_SUPP;
 	reg |= T_AHCI_HBA_CAP_BKDR_CMD_CMPL_COALESING;
 	reg |= T_AHCI_HBA_CAP_BKDR_FIS_SWITCHING;
 	reg |= T_AHCI_HBA_CAP_BKDR_SUPP_PM;