diff options
author | Linsys Contractor Mithlesh Thukral <mithlesh@netxen.com> | 2007-03-13 13:15:06 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-03-15 15:59:54 +0100 |
commit | b58ecad8d6ca83e97cd2928a439efb49267539dc (patch) | |
tree | 691bfcc04a909bd3e77550d7abd15595c08cb4ac /drivers/net/netxen/netxen_nic_ethtool.c | |
parent | NetXen: Bug fix for Jumbo frames on XG card (diff) | |
download | linux-b58ecad8d6ca83e97cd2928a439efb49267539dc.tar.xz linux-b58ecad8d6ca83e97cd2928a439efb49267539dc.zip |
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 986ef98db229..ee1b5a24cbe7 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", |