Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233879
b: refs/heads/master
c: f277e65
h: refs/heads/master
i:
  233877: b45cb7c
  233875: 01234c4
  233871: 3d2a475
v: v3
  • Loading branch information
Göran Weinholt authored and David S. Miller committed Mar 7, 2011
1 parent a83fba5 commit 6aa2b5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b3de1ef1ba0aa1129a9f857f07a6a97d954c6fd
refs/heads/master: f277e65e7a2d360189f760baca42f3ca2f62dd7a
5 changes: 5 additions & 0 deletions trunk/drivers/net/smsc911x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,11 @@ static int smsc911x_open(struct net_device *dev)
smsc911x_reg_write(pdata, HW_CFG, 0x00050000);
smsc911x_reg_write(pdata, AFC_CFG, 0x006E3740);

/* Increase the legal frame size of VLAN tagged frames to 1522 bytes */
spin_lock_irq(&pdata->mac_lock);
smsc911x_mac_write(pdata, VLAN1, ETH_P_8021Q);
spin_unlock_irq(&pdata->mac_lock);

/* Make sure EEPROM has finished loading before setting GPIO_CFG */
timeout = 50;
while ((smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) &&
Expand Down

0 comments on commit 6aa2b5c

Please sign in to comment.