Changeset 2239

Show
Ignore:
Timestamp:
01/22/04 02:05:49 (9 years ago)
Author:
mds
Message:

fix reservations being cancelled. Ticket 1515 and many others.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r2236 r2239  
    2525  Library: Better 2.6 eeprom support 
    2626           Change it87 hyst to low 
     27  Module bmcsensors: Fix reservations 
     28  Module eeprom: Remove memtype 
    2729  Program decode-vaio.pl: Add sysfs support 
    2830  Program mkpatch: Add max6650, lm83, lm90, asb100 and w83l785ts 
     
    5153  Program mkpatch: Add lm75.h 
    5254  Program pwmconfig: Improvements, fixes, support 2.6 kernels 
     55  Program sensors: Add ASB100 support 
    5356  Program sensors-detect: Add 8712 Super I/O detection; 
    5457                          add W83L785TS detection 
  • lm-sensors/trunk/kernel/chips/bmcsensors.c

    r2017 r2239  
    608608                case STATE_INIT: 
    609609                case STATE_RESERVE: 
    610                         resid = (((u16)msg->data[2]) << 8) || msg->data[1]; 
     610                        resid = (((u16)msg->data[2]) << 8) | msg->data[1]; 
    611611#ifdef DEBUG 
    612612                        printk(KERN_DEBUG "bmcsensors.o: Got first resid 0x%.4x\n", resid); 
     
    626626 
    627627                case STATE_UNCANCEL: 
    628                         resid = (((u16)msg->data[2]) << 8) || msg->data[1]; 
     628                        resid = (((u16)msg->data[2]) << 8) | msg->data[1]; 
    629629#ifdef DEBUG 
    630630                        printk(KERN_DEBUG "bmcsensors.o: Got new resid 0x%.4x\n", resid);