Changeset 5489

Show
Ignore:
Timestamp:
12/01/08 15:47:27 (4 years ago)
Author:
khali
Message:

Remaining spaces-to-tab conversions.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect

    r5488 r5489  
    11181118#      * "to-be-written" if it is not yet available 
    11191119#      * "not-a-sensor" if the chip doesn't have hardware monitoring 
    1120 #        capabilities (listing such chips here removes the need of manual 
    1121 #        lookup when people report them) 
     1120#        capabilities (listing such chips here removes the need of manual 
     1121#        lookup when people report them) 
    11221122#      * "via-smbus-only" if this is a Super-I/O chip whose hardware 
    1123 #        monitoring registers can only be accessed via the SMBus 
     1123#        monitoring registers can only be accessed via the SMBus 
    11241124#  devid: The device ID we have to match (base device) 
    11251125#  devid_mask (optional): Bitmask to apply before checking the device ID 
     
    21952195                        printf "No known driver for device \%s: \%s\n", 
    21962196                               pci_busid($device), $try->{procid}; 
    2197                 } else { 
     2197                } else { 
    21982198                        printf "Using driver `\%s' for device \%s: \%s\n", 
    21992199                               $try->{driver}, pci_busid($device), 
     
    24302430#    with field 'detected' 
    24312431#      being a reference to a list of 
    2432 #        references to hashes of type 'detect_data'; 
     2432#        references to hashes of type 'detect_data'; 
    24332433 
    24342434# Type detect_data: 
     
    34083408 
    34093409# Chip to detect: 0 = LM90, 1 = LM89/LM99, 2 = LM86, 3 = ADM1032, 
    3410 #                 4 = MAX6654/MAX6690, 5 = ADT7461, 
    3411 #                 6 = MAX6646/MAX6647/MAX6648/MAX6649/MAX6692, 
    3412 #                 7 = MAX6680/MAX6681, 8 = W83L771W/G, 9 = TMP401, 10 = TMP411 
     3410#                 4 = MAX6654/MAX6690, 5 = ADT7461, 
     3411#                 6 = MAX6646/MAX6647/MAX6648/MAX6649/MAX6692, 
     3412#                 7 = MAX6680/MAX6681, 8 = W83L771W/G, 9 = TMP401, 10 = TMP411 
    34133413# Registers used: 
    34143414#   0x03: Configuration 
     
    34803480                return if $rate > 0x09; 
    34813481                return if $mid != 0x5c;         # Winbond 
    3482                 return 6 if $cid == 0x00;               # W83L771W/G 
     3482                return 6 if $cid == 0x00;       # W83L771W/G 
    34833483        } 
    34843484        if ($chip == 9) { 
     
    34863486                return if $rate > 0x0F; 
    34873487                return if $mid != 0x55;         # Texas Instruments 
    3488                 return 8 if $cid == 0x11;               # TMP401 
     3488                return 8 if $cid == 0x11;       # TMP401 
    34893489        } 
    34903490        if ($chip == 10) { 
     
    37033703 
    37043704# Chip to detect: 0 = ADT7467/ADT7468, 1 = ADT7476, 2 = ADT7462, 3 = ADT7466, 
    3705 #                 4 = ADT7470 
     3705#                 4 = ADT7470 
    37063706# Registers used: 
    37073707#   0x3d: Chip ID 
     
    37993799 
    38003800# Chip to detect: 0 = LM85, 1 = LM96000, 2 = ADM1027, 3 = ADT7463, 
    3801 #                 4 = EMC6D100/101, 5 = EMC6D102, 6 = EMC6D103 
     3801#                 4 = EMC6D100/101, 5 = EMC6D102, 6 = EMC6D103 
    38023802# Registers used: 
    38033803#   0x3e: Vendor register 
     
    38713871 
    38723872# Chip to detect: 0 = W83781D, 1 = W83782D, 2 = W83783S, 3 = W83627HF, 
    3873 #                 4 = AS99127F (rev.1), 5 = AS99127F (rev.2), 6 = ASB100, 
    3874 #                 7 = W83791D, 8 = W83792D, 9 = W83627EHF, 10 = W83627DHG 
     3873#                 4 = AS99127F (rev.1), 5 = AS99127F (rev.2), 6 = ASB100, 
     3874#                 7 = W83791D, 8 = W83792D, 9 = W83627EHF, 10 = W83627DHG 
    38753875# Registers used: 
    38763876#   0x48: Full I2C Address 
     
    41254125 
    41264126# Chip to detect: 0 = ADM1021, 1 = ADM1021A/ADM1023, 2 = MAX1617, 3 = MAX1617A, 
    4127 #                 4 = THMC10, 5 = LM84, 6 = GL523, 7 = MC1066 
     4127#                 4 = THMC10, 5 = LM84, 6 = GL523, 7 = MC1066 
    41284128# Registers used: 
    41294129#   0x04: Company ID (LM84 only) 
     
    43144314 
    43154315# Chip to detect: 0 = Poseidon I, 1 = Poseidon II, 2 = Scylla, 
    4316 #                 3 = Hermes, 4 = Heimdal, 5 = Heracles 
     4316#                 3 = Hermes, 4 = Heimdal, 5 = Heracles 
    43174317# Registers used: 
    43184318#   0x00-0x02: Identification (3 capital ASCII letters) 
     
    44124412 
    44134413# Chip to detect: 1 = F75111R/RG/N, 2 = F75121R/F75122R/RG, 3 = F75373S/SG, 
    4414 #                 4 = F75375S/SP, 5 = F75387SG/RG, 6 = F75383M/S/F75384M/S, 
    4415 #                 7 = custom power control IC 
     4414#                 4 = F75375S/SP, 5 = F75387SG/RG, 6 = F75383M/S/F75384M/S, 
     4415#                 7 = custom power control IC 
    44164416# Registers used: 
    44174417#   0x5A-0x5B: Chip ID 
     
    44624462 
    44634463# Chip to detect: 0 = W83L784R/AR/G, 1 = W83L785R/G, 2 = W83L786NR/NG/R/G, 
    4464 #                 3 = W83L785TS-S 
     4464#                 3 = W83L785TS-S 
    44654465# Registers used: 
    44664466#   0x40: Configuration 
     
    45964596        my $val = inb($addr + 1); 
    45974597        return if inb($addr + 2) != $val or inb($addr + 3) != $val or 
    4598             inb($addr + 7) != $val; 
     4598                  inb($addr + 7) != $val; 
    45994599 
    46004600        $val = inb($addr + 5); 
     
    48264826                                    exists $detection->{isa_addr} and 
    48274827                                    $i2c_adapters[$detection->{i2c_devnr}]->{used}) { 
    4828                                         push @optionlist, $detection->{i2c_devnr}, 
    4829                                                           $detection->{i2c_addr}; 
     4828                                        push @optionlist, 
     4829                                             $detection->{i2c_devnr}, 
     4830                                             $detection->{i2c_addr}; 
    48304831                                } 
    48314832                        }