mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-15 17:14:00 +08:00
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: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ce9d9b8e5c
commit
f9bf45e08e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user