Changeset 3311

Show
Ignore:
Timestamp:
05/26/06 17:33:57 (6 years ago)
Author:
khali
Message:

Let the user know that eeprom support is going away soon.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/sensors/chips.c

    r3277 r3311  
    33123312                 && valid) { 
    33133313                        for (i = 0; i < 4; i++) 
    3314                     if (!sensors_get_feature(*name, SENSORS_EEPROM_VAIO_NAME+i, &a)) 
     3314                                if (!sensors_get_feature(*name, SENSORS_EEPROM_VAIO_NAME+i, &a)) 
    33153315                                        buffer[i] = (char) a; 
    33163316                        if (strncmp(buffer, "PCG-", 4) == 0 
     
    33393339                                free(label); 
    33403340 
     3341                                printf("Note that eeprom support will be dropped from " 
     3342                                       "libsensors soon.\nPlease use the decode-vaio.pl " 
     3343                                       "script instead.\n"); 
    33413344                                return; 
    33423345                        } 
     
    33543357                 && valid) { 
    33553358                        for (i = 0; i < 3; i++) 
    3356                     if (!sensors_get_feature(*name, SENSORS_EEPROM_SHUTTLE+i, &a)) 
     3359                                if (!sensors_get_feature(*name, SENSORS_EEPROM_SHUTTLE+i, &a)) 
    33573360                                        buffer[i] = (unsigned char) a; 
    33583361                        if (buffer[0] == 0x00 
     
    33623365                                /* must be a real Shuttle EEPROM */ 
    33633366                                for (i = 4; i < 6; i++) 
    3364                         if (!sensors_get_feature(*name, SENSORS_EEPROM_SHUTTLE+i, &a)) 
     3367                                        if (!sensors_get_feature(*name, SENSORS_EEPROM_SHUTTLE+i, &a)) 
    33653368                                                buffer[i] = (unsigned char) a; 
    33663369 
     
    34723475                printf("ERROR: data 2\n"); 
    34733476        free(label); 
     3477 
     3478        printf("Note that eeprom support will be dropped from " 
     3479               "libsensors soon.\nPlease use the decode-dimms.pl " 
     3480               "script instead.\n"); 
    34743481} 
    34753482