Changeset 4351

Show
Ignore:
Timestamp:
03/25/07 17:16:12 (8 years ago)
Author:
khali
Message:

isadump: In addr/data-style mode, detect when bit 7 of the address port
is a busy flag, and automatically adjust the range from 256 to 128 bytes
in that case.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r4349 r4351  
    11lm_sensors CHANGES file 
    22----------------------- 
     3 
     4SVN HEAD 
     5  Program isadump: Detect when address bit 7 is a busy flag 
     6 
    37 
    482.10.3 (20070319) 
  • lm-sensors/trunk/prog/dump/isadump.c

    r4317 r4351  
    294294                        } else {         
    295295                                outb(i+j, addrreg); 
     296                                if (i+j == 0 && (inb(addrreg) & 0x80)) { 
     297                                        /* Bit 7 appears to be a busy flag */ 
     298                                        range = 128; 
     299                                } 
    296300                                res = inb(datareg); 
    297301                        }