Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46507
b: refs/heads/master
c: d748742
h: refs/heads/master
i:
  46505: 615f091
  46503: 5497242
v: v3
  • Loading branch information
Francois Romieu authored and Jeff Garzik committed Feb 5, 2007
1 parent fbe7c0b commit a263698
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 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: 356bd1460d1e1c4e433e4114fdac02139bddf17c
refs/heads/master: d7487421b629c5ca71ce23b10461ef0c3ad2c741
3 changes: 1 addition & 2 deletions trunk/drivers/net/chelsio/cxgb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1292,9 +1292,8 @@ static int t1_clock(struct adapter *adapter, int mode)
if (!t1_is_T1B(adapter))
return -ENODEV; /* Can't re-clock this chip. */

if (mode & 2) {
if (mode & 2)
return 0; /* show current mode. */
}

if ((adapter->t1powersave & 1) == (mode & 1))
return -EALREADY; /* ASIC already running in mode. */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/chelsio/mv88e1xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,9 @@ static int mv88e1xxx_interrupt_handler(struct cphy *cphy)
(void) simple_mdio_read(cphy,
MV88E1XXX_SPECIFIC_STATUS_REGISTER, &status);

if (status & MV88E1XXX_INTR_LINK_CHNG) {
if (status & MV88E1XXX_INTR_LINK_CHNG)
cphy->state |= PHY_LINK_UP;
} else {
else {
cphy->state &= ~PHY_LINK_UP;
if (cphy->state & PHY_AUTONEG_EN)
cphy->state &= ~PHY_AUTONEG_RDY;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/net/chelsio/sge.c
Original file line number Diff line number Diff line change
Expand Up @@ -2195,9 +2195,8 @@ struct sge * __devinit t1_sge_create(struct adapter *adapter,
if (adapter->params.nports > 1) {
tx_sched_init(sge);
sge->espibug_timer.function = espibug_workaround_t204;
} else {
} else
sge->espibug_timer.function = espibug_workaround;
}
sge->espibug_timer.data = (unsigned long)sge->adapter;

sge->espibug_timeout = 1;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/net/chelsio/vsc7326.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,8 @@ static void run_table(adapter_t *adapter, struct init_table *ib, int len)
if (ib[i].addr == INITBLOCK_SLEEP) {
udelay( ib[i].data );
CH_ERR("sleep %d us\n",ib[i].data);
} else {
} else
vsc_write( adapter, ib[i].addr, ib[i].data );
}
}
}

Expand Down

0 comments on commit a263698

Please sign in to comment.