diff options
-rw-r--r-- | drivers/net/chelsio/espi.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/drivers/net/chelsio/espi.c b/drivers/net/chelsio/espi.c index e824acaf188a..542e5e065c6f 100644 --- a/drivers/net/chelsio/espi.c +++ b/drivers/net/chelsio/espi.c | |||
@@ -87,15 +87,9 @@ static int tricn_write(adapter_t *adapter, int bundle_addr, int module_addr, | |||
87 | static int tricn_init(adapter_t *adapter) | 87 | static int tricn_init(adapter_t *adapter) |
88 | { | 88 | { |
89 | int i = 0; | 89 | int i = 0; |
90 | int sme = 1; | ||
91 | int stat = 0; | 90 | int stat = 0; |
92 | int timeout = 0; | 91 | int timeout = 0; |
93 | int is_ready = 0; | 92 | int is_ready = 0; |
94 | int dynamic_deskew = 0; | ||
95 | |||
96 | if (dynamic_deskew) | ||
97 | sme = 0; | ||
98 | |||
99 | 93 | ||
100 | /* 1 */ | 94 | /* 1 */ |
101 | timeout=1000; | 95 | timeout=1000; |
@@ -113,11 +107,9 @@ static int tricn_init(adapter_t *adapter) | |||
113 | } | 107 | } |
114 | 108 | ||
115 | /* 2 */ | 109 | /* 2 */ |
116 | if (sme) { | 110 | tricn_write(adapter, 0, 0, 0, TRICN_CNFG, 0x81); |
117 | tricn_write(adapter, 0, 0, 0, TRICN_CNFG, 0x81); | 111 | tricn_write(adapter, 0, 1, 0, TRICN_CNFG, 0x81); |
118 | tricn_write(adapter, 0, 1, 0, TRICN_CNFG, 0x81); | 112 | tricn_write(adapter, 0, 2, 0, TRICN_CNFG, 0x81); |
119 | tricn_write(adapter, 0, 2, 0, TRICN_CNFG, 0x81); | ||
120 | } | ||
121 | for (i=1; i<= 8; i++) tricn_write(adapter, 0, 0, i, TRICN_CNFG, 0xf1); | 113 | for (i=1; i<= 8; i++) tricn_write(adapter, 0, 0, i, TRICN_CNFG, 0xf1); |
122 | for (i=1; i<= 2; i++) tricn_write(adapter, 0, 1, i, TRICN_CNFG, 0xf1); | 114 | for (i=1; i<= 2; i++) tricn_write(adapter, 0, 1, i, TRICN_CNFG, 0xf1); |
123 | for (i=1; i<= 3; i++) tricn_write(adapter, 0, 2, i, TRICN_CNFG, 0xe1); | 115 | for (i=1; i<= 3; i++) tricn_write(adapter, 0, 2, i, TRICN_CNFG, 0xe1); |