projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce9d9b8
)
net: thunderx: Remove PF soft reset.
author
Sunil Goutham
<
[email protected]
>
Sat, 24 Oct 2015 00:14:07 +0000
(17:14 -0700)
committer
David S. Miller
<
[email protected]
>
Mon, 26 Oct 2015 01:12:56 +0000
(18:12 -0700)
In some silicon revisions, the soft reset clobbers PCI config space,
so quit doing the reset.
Signed-off-by: Sunil Goutham <
[email protected]
>
Signed-off-by: David Daney <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/cavium/thunder/nic_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/cavium/thunder/nic_main.c
b/drivers/net/ethernet/cavium/thunder/nic_main.c
index b3a5947a2cc03e1675e5895fef39e35b10ea04d0..d6e3219ddeb3fe0c32655b375060b5aa0895fab6 100644
(file)
--- a/
drivers/net/ethernet/cavium/thunder/nic_main.c
+++ b/
drivers/net/ethernet/cavium/thunder/nic_main.c
@@
-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);