Changeset 4149
- Timestamp:
- 09/06/06 17:43:14 (7 years 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
r4144 r4149 5151 5151 foreach $chip (@chips_detected) { 5152 5152 next if not @{$chip->{detected}}; 5153 next if $chip->{driver} eq "not-a-sensor"; 5154 next if $chip->{driver} eq "use-isa-instead"; 5153 5155 if ($chip->{driver} eq "to-be-written") { 5154 5156 $modprobes .= "# no driver for $chip->{detected}[0]{chipname} yet\n"; 5155 } elsif ($chip->{driver} eq "use-isa-instead") { 5156 $modprobes .= "# no I2C driver for $chip->{detected}[0]{chipname} use ISA driver instead\n"; 5157 } elsif ($chip->{driver} ne "not-a-sensor") { 5157 } else { 5158 5158 # need the * for 2.4 kernels, won't necessarily be an exact match 5159 5159 open(local *INPUTFILE, "modprobe -l $chip->{driver}\\* 2>/dev/null |"); … … 5374 5374 my ($chip,$data); 5375 5375 foreach $chip (@chips_detected) { 5376 next if $chip->{driver} eq "not-a-sensor"; 5377 next if $chip->{driver} eq "use-isa-instead"; 5376 5378 print "\nDriver `$chip->{driver}' "; 5377 5379 if (@{$chip->{detected}}) {
