Changeset 723
- Timestamp:
- 02/02/00 21:57:46 (9 years ago)
- Files:
-
- lm-sensors/trunk/prog/detect/sensors-detect (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/prog/detect/sensors-detect
r720 r723 1823 1823 # still all added. So we number them in the correct order 1824 1824 if (exists $detection->{i2c_driver} and 1825 not exists $adapters[$detection->{i2c_devnr}]->{nr } and1825 not exists $adapters[$detection->{i2c_devnr}]->{nr_later} and 1826 1826 not (exists $detection->{isa_addr} and $prefer_isa)) { 1827 1827 foreach $adap (@adapters) { … … 1838 1838 for ($i = 0; $i < $nr; $i++) { 1839 1839 foreach $adap (@adapters) { 1840 $modprobes .= "modprobe $adap->{driver}\n" if (defined($adap->{nr_later}) and $adap->{nr_later} == $i) ;1840 $modprobes .= "modprobe $adap->{driver}\n" if (defined($adap->{nr_later}) and $adap->{nr_later} == $i) and not $modprobes =~ /modprobe $adap->{driver}\n/; 1841 1841 } 1842 1842 }
