Commit 70203f1c authored by Scott Feldman's avatar Scott Feldman Committed by Jeff Garzik

[PATCH] VLAN configuration was lost after ethtool diags run

* Bug fix: ethtool diags would call e100_up/e100_down, which overwrite
  current VLAN settings.  Move initialization of config regs out of
  up/down.
parent afef1b0e
......@@ -1327,6 +1327,8 @@ e100_sw_init(struct e100_private *bdp)
spin_lock_init(&(bdp->bd_non_tx_lock));
spin_lock_init(&(bdp->config_lock));
spin_lock_init(&(bdp->mdi_access_lock));
/* Initialize configuration data */
e100_config_init(bdp);
return 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment