Ver código fonte

[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 anos atrás
pai
commit
30f96c9f41
1 arquivos alterados com 0 adições e 3 exclusões
  1. 0
    3
      src/drivers/net/thunderx.c

+ 0
- 3
src/drivers/net/thunderx.c Ver arquivo

@@ -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
 

Carregando…
Cancelar
Salvar