Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131703
b: refs/heads/master
c: b956d41
h: refs/heads/master
i:
  131701: e61414e
  131699: e4b17eb
  131695: 5a3d700
v: v3
  • Loading branch information
Roel Kluin authored and David S. Miller committed Feb 22, 2009
1 parent a9fe334 commit f398b5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d13c11f6f7324b4fe61720910ee54184c38d2fea
refs/heads/master: b956d41162b1f2c4b446107e9910e4719cbc75f4
4 changes: 2 additions & 2 deletions trunk/drivers/net/sunlance.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ static void lance_init_ring_dvma(struct net_device *dev)
ib->phys_addr [5] = dev->dev_addr [4];

/* Setup the Tx ring entries */
for (i = 0; i <= TX_RING_SIZE; i++) {
for (i = 0; i < TX_RING_SIZE; i++) {
leptr = LANCE_ADDR(aib + libbuff_offset(tx_buf, i));
ib->btx_ring [i].tmd0 = leptr;
ib->btx_ring [i].tmd1_hadr = leptr >> 16;
Expand Down Expand Up @@ -399,7 +399,7 @@ static void lance_init_ring_pio(struct net_device *dev)
sbus_writeb(dev->dev_addr[4], &ib->phys_addr[5]);

/* Setup the Tx ring entries */
for (i = 0; i <= TX_RING_SIZE; i++) {
for (i = 0; i < TX_RING_SIZE; i++) {
leptr = libbuff_offset(tx_buf, i);
sbus_writew(leptr, &ib->btx_ring [i].tmd0);
sbus_writeb(leptr >> 16,&ib->btx_ring [i].tmd1_hadr);
Expand Down

0 comments on commit f398b5c

Please sign in to comment.