Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78945
b: refs/heads/master
c: 68d579f
h: refs/heads/master
i:
  78943: d3b0cfa
v: v3
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Jan 28, 2008
1 parent b13652f commit 8293243
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 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: 2450022afa9f140464c934ecb28c45583335672a
refs/heads/master: 68d579fb93df0db0442f90106b19a8dc701ecef1
2 changes: 2 additions & 0 deletions trunk/drivers/net/chelsio/espi.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ struct peespi *t1_espi_create(adapter_t *adapter)
return espi;
}

#if 0
void t1_espi_set_misc_ctrl(adapter_t *adapter, u32 val)
{
struct peespi *espi = adapter->espi;
Expand All @@ -309,6 +310,7 @@ void t1_espi_set_misc_ctrl(adapter_t *adapter, u32 val)
writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL);
spin_unlock(&espi->lock);
}
#endif /* 0 */

u32 t1_espi_get_mon(adapter_t *adapter, u32 addr, u8 wait)
{
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/chelsio/espi.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ void t1_espi_intr_disable(struct peespi *);
int t1_espi_intr_handler(struct peespi *);
const struct espi_intr_counts *t1_espi_get_intr_counts(struct peespi *espi);

void t1_espi_set_misc_ctrl(adapter_t *adapter, u32 val);
u32 t1_espi_get_mon(adapter_t *adapter, u32 addr, u8 wait);
int t1_espi_get_mon_t204(adapter_t *, u32 *, u8);

Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/net/chelsio/sge.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ unsigned int t1_sched_update_parms(struct sge *sge, unsigned int port,
return max_avail_segs * (p->mtu - 40);
}

#if 0

/*
* t1_sched_max_avail_bytes() tells the scheduler the maximum amount of
* data that can be pushed per port.
Expand Down Expand Up @@ -357,6 +359,8 @@ void t1_sched_set_drain_bits_per_us(struct sge *sge, unsigned int port,
t1_sched_update_parms(sge, port, 0, 0);
}

#endif /* 0 */


/*
* get_clock() implements a ns clock (see ktime_get)
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/chelsio/sge.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ void t1_sge_intr_disable(struct sge *);
void t1_sge_intr_clear(struct sge *);
const struct sge_intr_counts *t1_sge_get_intr_counts(const struct sge *sge);
void t1_sge_get_port_stats(const struct sge *sge, int port, struct sge_port_stats *);
void t1_sched_set_max_avail_bytes(struct sge *, unsigned int);
void t1_sched_set_drain_bits_per_us(struct sge *, unsigned int, unsigned int);
unsigned int t1_sched_update_parms(struct sge *, unsigned int, unsigned int,
unsigned int);

Expand Down

0 comments on commit 8293243

Please sign in to comment.