Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
Konrad Adamczyk authored and mcb30 committed Feb 7, 2017
1 parent ed864fe commit 30f96c9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/drivers/net/thunderx.c
Expand Up @@ -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 );

Expand Down

0 comments on commit 30f96c9

Please sign in to comment.