Changeset 1819
- Timestamp:
- 06/28/03 10:25:19 (10 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
prog/detect/sensors-detect (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r1809 r1819 102 102 Fix "C" format error; 103 103 Add support for adm1026, 82801EB (ICH5), W83791D; 104 Add support for w83l785ts, nForce2 104 Add support for w83l785ts, nForce2; 105 Fix UTF-8 incompatibility 105 106 106 107 2.7.0 (20021208) -
lm-sensors/trunk/prog/detect/sensors-detect
r1799 r1819 1341 1341 sub initialize_ioports 1342 1342 { 1343 sysopen IOPORTS, "/dev/port", 2; 1343 sysopen (IOPORTS, "/dev/port", O_RDWR|O_BINARY) 1344 or die "/dev/port: $!\n"; 1345 binmode (IOPORTS, ':raw'); 1346 } 1347 1348 sub close_ioports 1349 { 1350 close (IOPORTS) 1351 or print "Warning: $!\n"; 1344 1352 } 1345 1353 … … 1363 1371 if ($_[1] > 0xff) 1364 1372 { 1365 my ($package, $filename, $line, $sub) = caller(1);1373 my ($package, $filename, $line, $sub) = caller(1); 1366 1374 print "\n*** Called outb with value=$_[1] from line $line\n", 1367 1375 "*** (in $sub). PLEASE REPORT!\n", … … 3548 3556 print " Do you want to scan the ISA bus? (YES/no): "; 3549 3557 if (not <STDIN> =~ /^\s*[Nn]/) { 3550 initialize_ioports or die "Sorry, can't access /dev/port ($!)?!?"; 3551 scan_isa_bus; 3558 initialize_ioports(); 3559 scan_isa_bus(); 3560 close_ioports(); 3552 3561 } 3553 3562 } … … 3563 3572 print " Do you want to scan for Super I/O sensors? (YES/no): "; 3564 3573 if (not <STDIN> =~ /^\s*[Nn]/) { 3565 initialize_ioports or die "Sorry, can't access /dev/port ($!)?!?"; 3566 scan_superio; 3574 initialize_ioports(); 3575 scan_superio(); 3576 close_ioports(); 3567 3577 } 3568 3578 }
