Changeset 717

Show
Ignore:
Timestamp:
01/30/00 02:21:49 (13 years ago)
Author:
mds
Message:

(mds) changed refresh time from 1.5 seconds to 5 minutes.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/doc/chips/eeprom

    r402 r717  
    6969these EEPROMs. 
    7070 
     71The driver caches the data from the monitor and only rereads it 
     72from the eeprom if the cache is more than 5 minutes old. 
     73 
    7174 
    7275DECODE_DIMMS.PL 
  • lm-sensors/trunk/kernel/chips/eeprom.c

    r710 r717  
    320320        down(&data->update_lock); 
    321321 
    322         if ((jiffies - data->last_updated > HZ + HZ / 2) || 
     322        if ((jiffies - data->last_updated > 300 * HZ) | 
    323323            (jiffies < data->last_updated) || !data->valid) { 
    324324