diff options
author | Linsys Contractor Mithlesh Thukral <mithlesh@netxen.com> | 2007-03-13 04:15:06 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-03-15 10:59:54 -0400 |
commit | b58ecad8d6ca83e97cd2928a439efb49267539dc (patch) | |
tree | 691bfcc04a909bd3e77550d7abd15595c08cb4ac /drivers/net/netxen/netxen_nic_ethtool.c | |
parent | 8b902aea40544bc9e4de913b491dc3a3411fd5d0 (diff) |
NetXen: Fix softlockup seen during hardware access
NetXen: This will fix a softlock seen on some machines.
The reason was too much time was spent waiting for hardware access
to go through.
Signed-off by: Mithlesh Thukral <mithlesh@netxen.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_ethtool.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic_ethtool.c b/drivers/net/netxen/netxen_nic_ethtool.c index 986ef98db22..ee1b5a24cbe 100644 --- a/drivers/net/netxen/netxen_nic_ethtool.c +++ b/drivers/net/netxen/netxen_nic_ethtool.c @@ -462,6 +462,7 @@ netxen_nic_set_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, } printk(KERN_INFO "%s: flash unlocked. \n", netxen_nic_driver_name); + last_schedule_time = jiffies; ret = netxen_flash_erase_secondary(adapter); if (ret != FLASH_SUCCESS) { printk(KERN_ERR "%s: Flash erase failed.\n", |