• Zephaniah E. Hull's avatar
    [PATCH] I2C: And another it87 patch. · 0d08e838
    Zephaniah E. Hull authored
    Don't provide min/max for in8, which allowed one to scribble on
    registers one should not be messing with. (My fault, oops.)
    
    The setting of the temp high/low registers was off by one, not mine this
    time.  While I was at it, I reordered a few other register accesses to
    be base 0 instead of base 1.
    
    The temp interface was slightly incorrect, degrees * 100 instead of
    degrees * 1000, also fixed.
    
    And lastly, when changing the fan count divisor, fix up the min setting
    to still be roughly the same. (Previously the meaning of the value in
    the register changed, but not the value itself, resulting in, undesired
    surprises.)
    0d08e838
it87.c 32.2 KB