ソースを参照

[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
 

読み込み中…
キャンセル
保存