瀏覽代碼

[thunderx] Don't disable NIC when exiting from iPXE

According to ThunderX Errata G-17560, NIC_PF_CFG[ENA] bit should not
be cleared at exit.  This allows other drivers to access the NIC regs
correctly.

Signed-off-by: Konrad Adamczyk <konrad.adamczyk@cavium.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Konrad Adamczyk 7 年之前
父節點
當前提交
30f96c9f41
共有 1 個檔案被更改,包括 0 行新增3 行删除
  1. 0
    3
      src/drivers/net/thunderx.c

+ 0
- 3
src/drivers/net/thunderx.c 查看文件

@@ -1345,9 +1345,6 @@ static void txnic_pf_remove ( struct pci_device *pci ) {
1345 1345
 	/* Remove from list of physical functions */
1346 1346
 	list_del ( &pf->list );
1347 1347
 
1348
-	/* Disable physical function */
1349
-	writeq ( 0, ( pf->regs + TXNIC_PF_CFG ) );
1350
-
1351 1348
 	/* Unmap registers */
1352 1349
 	iounmap ( pf->regs );
1353 1350
 

Loading…
取消
儲存