Changeset 5848 for lm-sensors/trunk/prog/detect/sensors-detect
- Timestamp:
- 07/05/10 18:53:59 (19 months ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r5847 r5848 3004 3004 } 3005 3005 3006 # Fake i2c drivers such as "not-a-sensor" or "use-isa-instead" have to be 3007 # inserted so that confidence comparison can be performed. But then we have 3008 # to filter them out so that the user doesn't get confused. 3009 sub filter_out_fake_i2c_drivers 3010 { 3011 delete $chips_detected{"not-a-sensor"}; 3012 delete $chips_detected{"use-isa-instead"}; 3013 } 3014 3006 3015 # This adds a detection to the above structure. 3007 3016 # $_[0]: chip driver … … 3190 3199 } 3191 3200 print ")\n"; 3192 3193 return if ($chip->{driver} eq "not-a-sensor"3194 || $chip->{driver} eq "use-isa-instead");3195 3201 3196 3202 $new_hash = { … … 5987 5993 scan_i2c_adapter($dev_nr, $by_default); 5988 5994 } 5995 filter_out_fake_i2c_drivers(); 5989 5996 } 5990 5997
