david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[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>
This commit is contained in:
Konrad Adamczyk 2017-02-07 12:20:19 +01:00 committed by Michael Brown
parent ed864feb3a
commit 30f96c9f41
1 changed files with 0 additions and 3 deletions

View File

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