Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156333
b: refs/heads/master
c: f0c5b35
h: refs/heads/master
i:
  156331: 979b83c
v: v3
  • Loading branch information
roel kluin authored and David S. Miller committed Jul 30, 2009
1 parent a4b0793 commit 3a75a0d
Show file tree
Hide file tree
Showing 2 changed files with 4 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: a3e8ee682003685b8b9c98c89340a42e48c3e813
refs/heads/master: f0c5b35c6c93c89a9d8ccab19b0b4842f5dfddc5
6 changes: 3 additions & 3 deletions trunk/drivers/net/eexpress.c
Original file line number Diff line number Diff line change
Expand Up @@ -1474,13 +1474,13 @@ static void eexp_hw_init586(struct net_device *dev)
outw(0x0000, ioaddr + 0x800c);
outw(0x0000, ioaddr + 0x800e);

for (i = 0; i < (sizeof(start_code)); i+=32) {
for (i = 0; i < ARRAY_SIZE(start_code) * 2; i+=32) {
int j;
outw(i, ioaddr + SM_PTR);
for (j = 0; j < 16; j+=2)
for (j = 0; j < 16 && (i+j)/2 < ARRAY_SIZE(start_code); j+=2)
outw(start_code[(i+j)/2],
ioaddr+0x4000+j);
for (j = 0; j < 16; j+=2)
for (j = 0; j < 16 && (i+j+16)/2 < ARRAY_SIZE(start_code); j+=2)
outw(start_code[(i+j+16)/2],
ioaddr+0x8000+j);
}
Expand Down

0 comments on commit 3a75a0d

Please sign in to comment.