git: f84b424eaf23 - stable/13 - tegra/ahci: do not advertise enclosure management facility

From: Michal Meloun <mmel_at_FreeBSD.org>
Date: Thu, 20 Jan 2022 10:17:47 UTC
The branch stable/13 has been updated by mmel:

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

commit f84b424eaf23fa2e5bd93b9f8f2f863c590caa1b
Author:     Michal Meloun <mmel@FreeBSD.org>
AuthorDate: 2021-12-24 19:25:36 +0000
Commit:     Michal Meloun <mmel@FreeBSD.org>
CommitDate: 2022-01-20 10:15:47 +0000

    tegra/ahci: do not advertise enclosure management facility
    
    It is not implemented in HW.
    
    MFC after:      1 week
    
    (cherry picked from commit 6e9119768dad5289c188e8a07aada98783b52abf)
---
 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 725fc999a3a3..ad7d4bf042fc 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;