Browse Source

[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 years ago
parent
commit
30f96c9f41
1 changed files with 0 additions and 3 deletions
  1. 0
    3
      src/drivers/net/thunderx.c

+ 0
- 3
src/drivers/net/thunderx.c View File

1345
 	/* Remove from list of physical functions */
1345
 	/* Remove from list of physical functions */
1346
 	list_del ( &pf->list );
1346
 	list_del ( &pf->list );
1347
 
1347
 
1348
-	/* Disable physical function */
1349
-	writeq ( 0, ( pf->regs + TXNIC_PF_CFG ) );
1350
-
1351
 	/* Unmap registers */
1348
 	/* Unmap registers */
1352
 	iounmap ( pf->regs );
1349
 	iounmap ( pf->regs );
1353
 
1350
 

Loading…
Cancel
Save