Changeset 5847 for lm-sensors/trunk/prog
- Timestamp:
- 07/05/10 18:50:27 (23 months ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r5845 r5847 2952 2952 { 2953 2953 my ($chipdriver, $datahash) = @_; 2954 my ($i, $ new_detected_ref, $detected_ref, $detected_entry,2954 my ($i, $detected_ref, $detected_entry, 2955 2955 $put_in_detected, @hash_addrs, @entry_addrs); 2956 2957 # First determine where the hash has to be added.2958 $chips_detected{$chipdriver} = []2959 unless exists $chips_detected{$chipdriver};2960 $new_detected_ref = $chips_detected{$chipdriver};2961 2956 2962 2957 # Find out whether our new entry should go into the detected list … … 3004 2999 3005 3000 # Now add the new entry to detected 3006 push @$new_detected_ref, $datahash; 3001 $chips_detected{$chipdriver} = [] 3002 unless exists $chips_detected{$chipdriver}; 3003 push @{$chips_detected{$chipdriver}}, $datahash; 3007 3004 } 3008 3005
