Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9bf45e0 authored by Sunil Goutham's avatar Sunil Goutham Committed by David S. Miller
Browse files

net: thunderx: Remove PF soft reset.



In some silicon revisions, the soft reset clobbers PCI config space,
so quit doing the reset.

Signed-off-by: default avatarSunil Goutham <sgoutham@cavium.com>
Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce9d9b8e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -305,9 +305,6 @@ static void nic_init_hw(struct nicpf *nic)
{
	int i;

	/* Reset NIC, in case the driver is repeatedly inserted and removed */
	nic_reg_write(nic, NIC_PF_SOFT_RESET, 1);

	/* Enable NIC HW block */
	nic_reg_write(nic, NIC_PF_CFG, 0x3);