Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166236
b: refs/heads/master
c: 74a61eb
h: refs/heads/master
v: v3
  • Loading branch information
Mike McCormack authored and David S. Miller committed Sep 22, 2009
1 parent c3620b3 commit 8cad83c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 55865c66d24b8f1a885a1a03836d219286d41818
refs/heads/master: 74a61ebf653c6abe459f228eb40e9f24f7ef1fb7
4 changes: 3 additions & 1 deletion trunk/drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,6 @@ static int sky2_up(struct net_device *dev)
if (ramsize > 0) {
u32 rxspace;

hw->flags |= SKY2_HW_RAM_BUFFER;
pr_debug(PFX "%s: ram buffer %dK\n", dev->name, ramsize);
if (ramsize < 16)
rxspace = ramsize / 2;
Expand Down Expand Up @@ -2926,6 +2925,9 @@ static int __devinit sky2_init(struct sky2_hw *hw)
++hw->ports;
}

if (sky2_read8(hw, B2_E_0))
hw->flags |= SKY2_HW_RAM_BUFFER;

return 0;
}

Expand Down

0 comments on commit 8cad83c

Please sign in to comment.