Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21289
b: refs/heads/master
c: ded78e5
h: refs/heads/master
i:
  21287: 9c4b96c
v: v3
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Mar 12, 2006
1 parent e2cc79a commit a5f1853
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4d4d5181d043ea835c15da6c85a5bbecbaded6e
refs/heads/master: ded78e5e2cab0ec470cca7d34d7af742371bd476
14 changes: 3 additions & 11 deletions trunk/drivers/net/chelsio/espi.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,9 @@ static int tricn_write(adapter_t *adapter, int bundle_addr, int module_addr,
static int tricn_init(adapter_t *adapter)
{
int i = 0;
int sme = 1;
int stat = 0;
int timeout = 0;
int is_ready = 0;
int dynamic_deskew = 0;

if (dynamic_deskew)
sme = 0;


/* 1 */
timeout=1000;
Expand All @@ -113,11 +107,9 @@ static int tricn_init(adapter_t *adapter)
}

/* 2 */
if (sme) {
tricn_write(adapter, 0, 0, 0, TRICN_CNFG, 0x81);
tricn_write(adapter, 0, 1, 0, TRICN_CNFG, 0x81);
tricn_write(adapter, 0, 2, 0, TRICN_CNFG, 0x81);
}
tricn_write(adapter, 0, 0, 0, TRICN_CNFG, 0x81);
tricn_write(adapter, 0, 1, 0, TRICN_CNFG, 0x81);
tricn_write(adapter, 0, 2, 0, TRICN_CNFG, 0x81);
for (i=1; i<= 8; i++) tricn_write(adapter, 0, 0, i, TRICN_CNFG, 0xf1);
for (i=1; i<= 2; i++) tricn_write(adapter, 0, 1, i, TRICN_CNFG, 0xf1);
for (i=1; i<= 3; i++) tricn_write(adapter, 0, 2, i, TRICN_CNFG, 0xe1);
Expand Down

0 comments on commit a5f1853

Please sign in to comment.