From bf530b163450aefd5bca5d6a3239633ae4279b18 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sun, 30 Nov 2008 09:49:11 +0000 Subject: [PATCH] Reindent all superio_ids lists. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5463 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 1062 +++++++++++++++++------------------- 1 file changed, 487 insertions(+), 575 deletions(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 440c7ba1..f4f56982 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -1146,604 +1146,516 @@ use vars qw(@superio_ids_natsemi @superio_ids_smsc @superio_ids_smsc_ns @superio_ids_winbond @superio_ids_ite @superio_ids); @superio_ids_natsemi = ( - { - name => "Nat. Semi. PC8374L Super IO Sensors", - driver => "to-be-written", - devid => 0xf1, - logdev => 0x08, - }, - { - name => "Nat. Semi. PC87351 Super IO Fan Sensors", - driver => "to-be-written", - devid => 0xe2, - logdev => 0x08, - }, - { - name => "Nat. Semi. PC87360 Super IO Fan Sensors", - driver => "pc87360", - devid => 0xe1, - logdev => 0x09, - }, - { - name => "Nat. Semi. PC87363 Super IO Fan Sensors", - driver => "pc87360", - devid => 0xe8, - logdev => 0x09, - }, - { - name => "Nat. Semi. PC87364 Super IO Fan Sensors", - driver => "pc87360", - devid => 0xe4, - logdev => 0x09, - }, - { - name => "Nat. Semi. PC87365 Super IO Fan Sensors", - driver => "pc87360", - devid => 0xe5, - logdev => 0x09, - }, - { - name => "Nat. Semi. PC87365 Super IO Voltage Sensors", - driver => "pc87360", - devid => 0xe5, - logdev => 0x0d, - }, - { - name => "Nat. Semi. PC87365 Super IO Thermal Sensors", - driver => "pc87360", - devid => 0xe5, - logdev => 0x0e, - }, - { - name => "Nat. Semi. PC87366 Super IO Fan Sensors", - driver => "pc87360", - devid => 0xe9, - logdev => 0x09, - }, - { - name => "Nat. Semi. PC87366 Super IO Voltage Sensors", - driver => "pc87360", - devid => 0xe9, - logdev => 0x0d, - }, - { - name => "Nat. Semi. PC87366 Super IO Thermal Sensors", - driver => "pc87360", - devid => 0xe9, - logdev => 0x0e, - }, - { - name => "Nat. Semi. PC87372 Super IO Fan Sensors", - driver => "to-be-written", - devid => 0xf0, - logdev => 0x09, - }, - { - name => "Nat. Semi. PC87373 Super IO Fan Sensors", - driver => "to-be-written", - devid => 0xf3, - logdev => 0x09, - }, - { - name => "Nat. Semi. PC87591 Super IO", - driver => "to-be-written", - devid => 0xec, - logdev => 0x0f, - }, - { - name => "Nat. Semi. PC87317 Super IO", - driver => "not-a-sensor", - devid => 0xd0, - }, - { - name => "Nat. Semi. PC97317 Super IO", - driver => "not-a-sensor", - devid => 0xdf, - }, - { - name => "Nat. Semi. PC8739x Super IO", - driver => "not-a-sensor", - devid => 0xea, - }, - { - name => "Nat. Semi. PC8741x Super IO", - driver => "not-a-sensor", - devid => 0xee, - }, - { - name => "Nat. Semi. PC87427 Super IO Fan Sensors", - driver => "pc87427", - devid => 0xf2, - logdev => 0x09, - }, - { - name => "Nat. Semi. PC87427 Super IO Health Sensors", - driver => "to-be-written", - devid => 0xf2, - logdev => 0x14, - }, + { + name => "Nat. Semi. PC8374L Super IO Sensors", + driver => "to-be-written", + devid => 0xf1, + logdev => 0x08, + }, { + name => "Nat. Semi. PC87351 Super IO Fan Sensors", + driver => "to-be-written", + devid => 0xe2, + logdev => 0x08, + }, { + name => "Nat. Semi. PC87360 Super IO Fan Sensors", + driver => "pc87360", + devid => 0xe1, + logdev => 0x09, + }, { + name => "Nat. Semi. PC87363 Super IO Fan Sensors", + driver => "pc87360", + devid => 0xe8, + logdev => 0x09, + }, { + name => "Nat. Semi. PC87364 Super IO Fan Sensors", + driver => "pc87360", + devid => 0xe4, + logdev => 0x09, + }, { + name => "Nat. Semi. PC87365 Super IO Fan Sensors", + driver => "pc87360", + devid => 0xe5, + logdev => 0x09, + }, { + name => "Nat. Semi. PC87365 Super IO Voltage Sensors", + driver => "pc87360", + devid => 0xe5, + logdev => 0x0d, + }, { + name => "Nat. Semi. PC87365 Super IO Thermal Sensors", + driver => "pc87360", + devid => 0xe5, + logdev => 0x0e, + }, { + name => "Nat. Semi. PC87366 Super IO Fan Sensors", + driver => "pc87360", + devid => 0xe9, + logdev => 0x09, + }, { + name => "Nat. Semi. PC87366 Super IO Voltage Sensors", + driver => "pc87360", + devid => 0xe9, + logdev => 0x0d, + }, { + name => "Nat. Semi. PC87366 Super IO Thermal Sensors", + driver => "pc87360", + devid => 0xe9, + logdev => 0x0e, + }, { + name => "Nat. Semi. PC87372 Super IO Fan Sensors", + driver => "to-be-written", + devid => 0xf0, + logdev => 0x09, + }, { + name => "Nat. Semi. PC87373 Super IO Fan Sensors", + driver => "to-be-written", + devid => 0xf3, + logdev => 0x09, + }, { + name => "Nat. Semi. PC87591 Super IO", + driver => "to-be-written", + devid => 0xec, + logdev => 0x0f, + }, { + name => "Nat. Semi. PC87317 Super IO", + driver => "not-a-sensor", + devid => 0xd0, + }, { + name => "Nat. Semi. PC97317 Super IO", + driver => "not-a-sensor", + devid => 0xdf, + }, { + name => "Nat. Semi. PC8739x Super IO", + driver => "not-a-sensor", + devid => 0xea, + }, { + name => "Nat. Semi. PC8741x Super IO", + driver => "not-a-sensor", + devid => 0xee, + }, { + name => "Nat. Semi. PC87427 Super IO Fan Sensors", + driver => "pc87427", + devid => 0xf2, + logdev => 0x09, + }, { + name => "Nat. Semi. PC87427 Super IO Health Sensors", + driver => "to-be-written", + devid => 0xf2, + logdev => 0x14, + } ); @superio_ids_smsc = ( - { - name => "SMSC DME1737 Super IO", - # Hardware monitoring features are accessed on the SMBus - driver => "via-smbus-only", - devid => 0x78, - }, - { - name => "SMSC DME1737 Super IO", - # The DME1737 shows up twice in this list because it can return either - # 0x78 or 0x77 as its device ID. - # Hardware monitoring features are accessed on the SMBus - driver => "via-smbus-only", - devid => 0x77, - }, - { - name => "SMSC EMC2700LPC Super IO", - # no datasheet - devid => 0x67, - }, - { - name => "SMSC FDC37B72x Super IO", - driver => "not-a-sensor", - devid => 0x4c, - }, - { - name => "SMSC FDC37B78x Super IO", - driver => "not-a-sensor", - devid => 0x44, - }, - { - name => "SMSC FDC37C672 Super IO", - driver => "not-a-sensor", - devid => 0x40, - }, - { - name => "SMSC FDC37M707 Super IO", - driver => "not-a-sensor", - devid => 0x42, - }, - { - name => "SMSC FDC37M81x Super IO", - driver => "not-a-sensor", - devid => 0x4d, - }, - { - name => "SMSC LPC47B27x Super IO Fan Sensors", - driver => "smsc47m1", - devid => 0x51, - logdev => 0x0a, - }, - { - name => "SMSC LPC47B34x Super IO", - driver => "not-a-sensor", - devid => 0x56, - }, - { - name => "SMSC LPC47B357/M967 Super IO", - driver => "not-a-sensor", - devid => 0x5d, - }, - { - name => "SMSC LPC47B367-NC Super IO", - driver => "not-a-sensor", - devid => 0x6d, - }, - { - name => "SMSC LPC47B37x Super IO Fan Sensors", - driver => "to-be-written", - devid => 0x52, - logdev => 0x0a, - }, - { - name => "SMSC LPC47B397-NC Super IO", - driver => "smsc47b397", - devid => 0x6f, - logdev => 0x08, - }, - { - name => "SMSC LPC47M10x/112/13x Super IO Fan Sensors", - driver => "smsc47m1", - devid => 0x59, - logdev => 0x0a, - }, - { - name => "SMSC LPC47M14x Super IO Fan Sensors", - driver => "smsc47m1", - devid => 0x5f, - logdev => 0x0a, - }, - { - name => "SMSC LPC47M15x/192/997 Super IO Fan Sensors", - driver => "smsc47m1", - devid => 0x60, - logdev => 0x0a, - }, - { - name => "SMSC LPC47M172 Super IO Fan Sensors", - driver => "to-be-written", - devid => 0x14, - logdev => 0x0a, - }, - { - name => "SMSC LPC47M182 Super IO Fan Sensors", - driver => "to-be-written", - devid => 0x74, - logdev => 0x0a, - }, - { - name => "SMSC LPC47M233 Super IO Sensors", - driver => "smsc47m1", - devid => 0x6b80, - devid_mask => 0xff80, - logdev => 0x0a, - }, - { - name => "SMSC LPC47M292 Super IO Fan Sensors", - driver => "smsc47m1", - devid => 0x6b00, - devid_mask => 0xff80, - logdev => 0x0a, - }, - { - name => "SMSC LPC47M584-NC Super IO", - # No datasheet - devid => 0x76, - }, - { - name => "SMSC LPC47N252 Super IO Fan Sensors", - driver => "to-be-written", - devid => 0x0e, - logdev => 0x09, - }, - { - name => "SMSC LPC47S42x Super IO Fan Sensors", - driver => "to-be-written", - devid => 0x57, - logdev => 0x0a, - }, - { - name => "SMSC LPC47S45x Super IO Fan Sensors", - driver => "to-be-written", - devid => 0x62, - logdev => 0x0a, - }, - { - name => "SMSC LPC47U33x Super IO Fan Sensors", - driver => "to-be-written", - devid => 0x54, - logdev => 0x0a, - }, - { - name => "SMSC SCH3112 Super IO", - driver => "dme1737", - devid => 0x7c, - logdev => 0x0a, - }, - { - name => "SMSC SCH3114 Super IO", - driver => "dme1737", - devid => 0x7d, - logdev => 0x0a, - }, - { - name => "SMSC SCH3116 Super IO", - driver => "dme1737", - devid => 0x7f, - logdev => 0x0a, - }, - { - name => "SMSC SCH4307 Super IO Fan Sensors", - driver => "to-be-written", - devid => 0x90, - logdev => 0x08, - }, - { - name => "SMSC SCH5027D-NW Super IO", - # Hardware monitoring features are accessed on the SMBus - driver => "via-smbus-only", - devid => 0x89, - }, - { - name => "SMSC SCH5127 Super IO", - driver => "dme1737", - devid => 0x86, - logdev => 0x0a, - }, - { - name => "SMSC SCH5307-NS Super IO", - driver => "smsc47b397", - devid => 0x81, - logdev => 0x08, - }, - { - name => "SMSC SCH5317 Super IO", - driver => "smsc47b397", - devid => 0x85, - logdev => 0x08, - }, - { - name => "SMSC SCH5317 Super IO", - # The SCH5317 shows up twice in this list because it can return either - # 0x85 or 0x8c as its device ID. - driver => "smsc47b397", - devid => 0x8c, - logdev => 0x08, - }, - { - name => "SMSC SCH5504-NS Super IO", - # No datasheet - driver => "not-a-sensor", - devid => 0x79, - }, - { - name => "SMSC SCH5514D-NS Super IO", - # No datasheet - driver => "not-a-sensor", - devid => 0x83, - }, + { + name => "SMSC DME1737 Super IO", + # Hardware monitoring features are accessed on the SMBus + driver => "via-smbus-only", + devid => 0x78, + }, { + name => "SMSC DME1737 Super IO", + # The DME1737 shows up twice in this list because it can return either + # 0x78 or 0x77 as its device ID. + # Hardware monitoring features are accessed on the SMBus + driver => "via-smbus-only", + devid => 0x77, + }, { + name => "SMSC EMC2700LPC Super IO", + # no datasheet + devid => 0x67, + }, { + name => "SMSC FDC37B72x Super IO", + driver => "not-a-sensor", + devid => 0x4c, + }, { + name => "SMSC FDC37B78x Super IO", + driver => "not-a-sensor", + devid => 0x44, + }, { + name => "SMSC FDC37C672 Super IO", + driver => "not-a-sensor", + devid => 0x40, + }, { + name => "SMSC FDC37M707 Super IO", + driver => "not-a-sensor", + devid => 0x42, + }, { + name => "SMSC FDC37M81x Super IO", + driver => "not-a-sensor", + devid => 0x4d, + }, { + name => "SMSC LPC47B27x Super IO Fan Sensors", + driver => "smsc47m1", + devid => 0x51, + logdev => 0x0a, + }, { + name => "SMSC LPC47B34x Super IO", + driver => "not-a-sensor", + devid => 0x56, + }, { + name => "SMSC LPC47B357/M967 Super IO", + driver => "not-a-sensor", + devid => 0x5d, + }, { + name => "SMSC LPC47B367-NC Super IO", + driver => "not-a-sensor", + devid => 0x6d, + }, { + name => "SMSC LPC47B37x Super IO Fan Sensors", + driver => "to-be-written", + devid => 0x52, + logdev => 0x0a, + }, { + name => "SMSC LPC47B397-NC Super IO", + driver => "smsc47b397", + devid => 0x6f, + logdev => 0x08, + }, { + name => "SMSC LPC47M10x/112/13x Super IO Fan Sensors", + driver => "smsc47m1", + devid => 0x59, + logdev => 0x0a, + }, { + name => "SMSC LPC47M14x Super IO Fan Sensors", + driver => "smsc47m1", + devid => 0x5f, + logdev => 0x0a, + }, { + name => "SMSC LPC47M15x/192/997 Super IO Fan Sensors", + driver => "smsc47m1", + devid => 0x60, + logdev => 0x0a, + }, { + name => "SMSC LPC47M172 Super IO Fan Sensors", + driver => "to-be-written", + devid => 0x14, + logdev => 0x0a, + }, { + name => "SMSC LPC47M182 Super IO Fan Sensors", + driver => "to-be-written", + devid => 0x74, + logdev => 0x0a, + }, { + name => "SMSC LPC47M233 Super IO Sensors", + driver => "smsc47m1", + devid => 0x6b80, + devid_mask => 0xff80, + logdev => 0x0a, + }, { + name => "SMSC LPC47M292 Super IO Fan Sensors", + driver => "smsc47m1", + devid => 0x6b00, + devid_mask => 0xff80, + logdev => 0x0a, + }, { + name => "SMSC LPC47M584-NC Super IO", + # No datasheet + devid => 0x76, + }, { + name => "SMSC LPC47N252 Super IO Fan Sensors", + driver => "to-be-written", + devid => 0x0e, + logdev => 0x09, + }, { + name => "SMSC LPC47S42x Super IO Fan Sensors", + driver => "to-be-written", + devid => 0x57, + logdev => 0x0a, + }, { + name => "SMSC LPC47S45x Super IO Fan Sensors", + driver => "to-be-written", + devid => 0x62, + logdev => 0x0a, + }, { + name => "SMSC LPC47U33x Super IO Fan Sensors", + driver => "to-be-written", + devid => 0x54, + logdev => 0x0a, + }, { + name => "SMSC SCH3112 Super IO", + driver => "dme1737", + devid => 0x7c, + logdev => 0x0a, + }, { + name => "SMSC SCH3114 Super IO", + driver => "dme1737", + devid => 0x7d, + logdev => 0x0a, + }, { + name => "SMSC SCH3116 Super IO", + driver => "dme1737", + devid => 0x7f, + logdev => 0x0a, + }, { + name => "SMSC SCH4307 Super IO Fan Sensors", + driver => "to-be-written", + devid => 0x90, + logdev => 0x08, + }, { + name => "SMSC SCH5027D-NW Super IO", + # Hardware monitoring features are accessed on the SMBus + driver => "via-smbus-only", + devid => 0x89, + }, { + name => "SMSC SCH5127 Super IO", + driver => "dme1737", + devid => 0x86, + logdev => 0x0a, + }, { + name => "SMSC SCH5307-NS Super IO", + driver => "smsc47b397", + devid => 0x81, + logdev => 0x08, + }, { + name => "SMSC SCH5317 Super IO", + driver => "smsc47b397", + devid => 0x85, + logdev => 0x08, + }, { + name => "SMSC SCH5317 Super IO", + # The SCH5317 shows up twice in this list because it can return either + # 0x85 or 0x8c as its device ID. + driver => "smsc47b397", + devid => 0x8c, + logdev => 0x08, + }, { + name => "SMSC SCH5504-NS Super IO", + # No datasheet + driver => "not-a-sensor", + devid => 0x79, + }, { + name => "SMSC SCH5514D-NS Super IO", + # No datasheet + driver => "not-a-sensor", + devid => 0x83, + } ); +# Non-standard SMSC chip list. These chips differ from the standard ones +# listed above in that the device ID register address is 0x0d instead of +# 0x20 (as specified by the ISA PNP spec). @superio_ids_smsc_ns = ( - { - name => "SMSC FDC37C665 Super IO", - driver => "not-a-sensor", - devid => 0x65, - }, - { - name => "SMSC FDC37C666 Super IO", - driver => "not-a-sensor", - devid => 0x66, - }, - { - name => "SMSC FDC37C669 Super IO", - driver => "not-a-sensor", - devid => 0x03, - }, - { - name => "SMSC FDC37N769 Super IO", - driver => "not-a-sensor", - devid => 0x28, - }, - { - name => "SMSC LPC47N227 Super IO", - driver => "not-a-sensor", - devid => 0x5a, - }, + { + name => "SMSC FDC37C665 Super IO", + driver => "not-a-sensor", + devid => 0x65, + }, { + name => "SMSC FDC37C666 Super IO", + driver => "not-a-sensor", + devid => 0x66, + }, { + name => "SMSC FDC37C669 Super IO", + driver => "not-a-sensor", + devid => 0x03, + }, { + name => "SMSC FDC37N769 Super IO", + driver => "not-a-sensor", + devid => 0x28, + }, { + name => "SMSC LPC47N227 Super IO", + driver => "not-a-sensor", + devid => 0x5a, + } ); @superio_ids_winbond = ( - { - name => "VIA VT1211 Super IO Sensors", - driver => "vt1211", - devid => 0x3c, - logdev => 0x0b, - alias_detect => sub { vt1211_alias_detect(@_); }, - }, - { - name => "VIA VT1212 Super IO Lite", # in 100 pin TQFP package - driver => "not-a-sensor", - devid => 0x3e, - }, - { - name => "VIA VT1212 Super IO Lite", # in 48 pin LQFP package - driver => "not-a-sensor", - devid => 0x3f, - }, - { - name => "Winbond W83627HF/F/HG/G Super IO Sensors", - driver => "w83627hf", - devid => 0x52, - logdev => 0x0b, - alias_detect => sub { winbond_alias_detect(@_, 0x2b, 0x3d); }, - }, - { - name => "Winbond W83627THF/THG Super IO Sensors", - driver => "w83627hf", - devid => 0x82, - logdev => 0x0b, - }, - { - name => "Winbond W83637HF/HG Super IO Sensors", - driver => "w83627hf", - devid => 0x70, - logdev => 0x0b, - }, - { - name => "Winbond W83687THF Super IO Sensors", - driver => "w83627hf", - devid => 0x85, - logdev => 0x0b, - }, - { - name => "Winbond W83697HF/F/HG Super IO Sensors", - driver => "w83627hf", - devid => 0x60, - logdev => 0x0b, - }, - { - name => "Winbond W83697SF/UF/UG Super IO PWM", - driver => "to-be-written", - devid => 0x68, - logdev => 0x0b, - }, - { - name => "Winbond W83627EHF/EF/EHG/EG Super IO Sensors", - driver => "w83627ehf", - # W83627EHF datasheet says 0x886x but 0x8853 was seen, thus the - # broader mask. W83627EHG was seen with ID 0x8863. - devid => 0x8840, - devid_mask => 0xFFC0, - logdev => 0x0b, - alias_detect => sub { winbond_alias_detect(@_, 0x2b, 0x3e); }, - }, - { - name => "Winbond W83627DHG Super IO Sensors", - driver => "w83627ehf", - devid => 0xA020, - devid_mask => 0xFFF0, - logdev => 0x0b, - alias_detect => sub { winbond_alias_detect(@_, 0x2b, 0x3e); }, - }, - { - name => "Winbond W83L517D Super IO", - driver => "not-a-sensor", - devid => 0x61, - }, - { - name => "Fintek F71805F/FG Super IO Sensors", - driver => "f71805f", - devid => 0x0406, - logdev => 0x04, - }, - { - name => "Fintek F71862FG Super IO Sensors", - driver => "to-be-written", - devid => 0x0601, - logdev => 0x04, - }, - { - name => "Fintek F71806FG/F71872FG Super IO Sensors", - driver => "f71805f", - devid => 0x0341, - logdev => 0x04, - }, - { - name => "Fintek F71858DG Super IO Sensors", - driver => "to-be-written", - devid => 0x0507, - logdev => 0x02, - }, - { - name => "Fintek F71882FG/F71883FG Super IO Sensors", - driver => "f71882fg", - devid => 0x0541, - logdev => 0x04, - }, - { - name => "Fintek F81216D Super IO", - driver => "not-a-sensor", - devid => 0x0208, - }, - { - name => "Fintek F81218D Super IO", - driver => "not-a-sensor", - devid => 0x0206, - }, - { - name => "Asus F8000 Super IO", - driver => "f8000", - devid => 0x0581, - logdev => 0x04, - }, - { - # Shouldn't be in this family, but seems to be still. - name => "ITE IT8708F Super IO", - driver => "not-a-sensor", - devid => 0x8708, - }, + { + name => "VIA VT1211 Super IO Sensors", + driver => "vt1211", + devid => 0x3c, + logdev => 0x0b, + alias_detect => sub { vt1211_alias_detect(@_); }, + }, { + name => "VIA VT1212 Super IO Lite", # in 100 pin TQFP package + driver => "not-a-sensor", + devid => 0x3e, + }, { + name => "VIA VT1212 Super IO Lite", # in 48 pin LQFP package + driver => "not-a-sensor", + devid => 0x3f, + }, { + name => "Winbond W83627HF/F/HG/G Super IO Sensors", + driver => "w83627hf", + devid => 0x52, + logdev => 0x0b, + alias_detect => sub { winbond_alias_detect(@_, 0x2b, 0x3d); }, + }, { + name => "Winbond W83627THF/THG Super IO Sensors", + driver => "w83627hf", + devid => 0x82, + logdev => 0x0b, + }, { + name => "Winbond W83637HF/HG Super IO Sensors", + driver => "w83627hf", + devid => 0x70, + logdev => 0x0b, + }, { + name => "Winbond W83687THF Super IO Sensors", + driver => "w83627hf", + devid => 0x85, + logdev => 0x0b, + }, { + name => "Winbond W83697HF/F/HG Super IO Sensors", + driver => "w83627hf", + devid => 0x60, + logdev => 0x0b, + }, { + name => "Winbond W83697SF/UF/UG Super IO PWM", + driver => "to-be-written", + devid => 0x68, + logdev => 0x0b, + }, { + name => "Winbond W83627EHF/EF/EHG/EG Super IO Sensors", + driver => "w83627ehf", + # W83627EHF datasheet says 0x886x but 0x8853 was seen, thus the + # broader mask. W83627EHG was seen with ID 0x8863. + devid => 0x8840, + devid_mask => 0xFFC0, + logdev => 0x0b, + alias_detect => sub { winbond_alias_detect(@_, 0x2b, 0x3e); }, + }, { + name => "Winbond W83627DHG Super IO Sensors", + driver => "w83627ehf", + devid => 0xA020, + devid_mask => 0xFFF0, + logdev => 0x0b, + alias_detect => sub { winbond_alias_detect(@_, 0x2b, 0x3e); }, + }, { + name => "Winbond W83L517D Super IO", + driver => "not-a-sensor", + devid => 0x61, + }, { + name => "Fintek F71805F/FG Super IO Sensors", + driver => "f71805f", + devid => 0x0406, + logdev => 0x04, + }, { + name => "Fintek F71862FG Super IO Sensors", + driver => "to-be-written", + devid => 0x0601, + logdev => 0x04, + }, { + name => "Fintek F71806FG/F71872FG Super IO Sensors", + driver => "f71805f", + devid => 0x0341, + logdev => 0x04, + }, { + name => "Fintek F71858DG Super IO Sensors", + driver => "to-be-written", + devid => 0x0507, + logdev => 0x02, + }, { + name => "Fintek F71882FG/F71883FG Super IO Sensors", + driver => "f71882fg", + devid => 0x0541, + logdev => 0x04, + }, { + name => "Fintek F81216D Super IO", + driver => "not-a-sensor", + devid => 0x0208, + }, { + name => "Fintek F81218D Super IO", + driver => "not-a-sensor", + devid => 0x0206, + }, { + name => "Asus F8000 Super IO", + driver => "f8000", + devid => 0x0581, + logdev => 0x04, + }, { + # Shouldn't be in this family, but seems to be still. + name => "ITE IT8708F Super IO", + driver => "not-a-sensor", + devid => 0x8708, + } ); @superio_ids_ite = ( - { - name => "ITE IT8702F Super IO Sensors", - driver => "to-be-written", - devid => 0x8702, - logdev => 0x04, - }, - { - name => "ITE IT8705F Super IO Sensors", - driver => "it87", - devid => 0x8705, - logdev => 0x04, - }, - { - name => "ITE IT8712F Super IO Sensors", - driver => "it87", - devid => 0x8712, - logdev => 0x04, - alias_detect => sub { winbond_alias_detect(@_, 0x30, 0x45); }, - }, - { - name => "ITE IT8716F Super IO Sensors", - driver => "it87", - devid => 0x8716, - logdev => 0x04, - }, - { - name => "ITE IT8718F Super IO Sensors", - driver => "it87", - devid => 0x8718, - logdev => 0x04, - }, - { - name => "ITE IT8720F Super IO Sensors", - driver => "it87", - devid => 0x8720, - logdev => 0x04, - }, - { - name => "ITE IT8726F Super IO Sensors", - driver => "it87", - devid => 0x8726, - logdev => 0x04, - }, + { + name => "ITE IT8702F Super IO Sensors", + driver => "to-be-written", + devid => 0x8702, + logdev => 0x04, + }, { + name => "ITE IT8705F Super IO Sensors", + driver => "it87", + devid => 0x8705, + logdev => 0x04, + }, { + name => "ITE IT8712F Super IO Sensors", + driver => "it87", + devid => 0x8712, + logdev => 0x04, + alias_detect => sub { winbond_alias_detect(@_, 0x30, 0x45); }, + }, { + name => "ITE IT8716F Super IO Sensors", + driver => "it87", + devid => 0x8716, + logdev => 0x04, + }, { + name => "ITE IT8718F Super IO Sensors", + driver => "it87", + devid => 0x8718, + logdev => 0x04, + }, { + name => "ITE IT8720F Super IO Sensors", + driver => "it87", + devid => 0x8720, + logdev => 0x04, + }, { + name => "ITE IT8726F Super IO Sensors", + driver => "it87", + devid => 0x8726, + logdev => 0x04, + } ); # Entries are grouped by family. Each family entry has the following fields: # family: The family name # guess (optional): Typical logical device address. This lets us do -# generic probing if we fail to recognize the chip. +# generic probing if we fail to recognize the chip. # enter: The password sequence to write to the address register # chips: Array of chips # The order of families matters, because we stop as soon as one family # succeeds. So we have to list families with shorter password sequences # first. @superio_ids = ( - { - family => "National Semiconductor", - enter => - { - 0x2e => [], - 0x4e => [], - }, - chips => \@superio_ids_natsemi, - }, - { - family => "SMSC", - enter => - { - 0x2e => [0x55], - 0x4e => [0x55], - }, - chips => \@superio_ids_smsc, - # Non-standard SMSC detection callback and chip list. These chips differ - # from the standard ones listed above in that the device ID register - # address is 0x0d instead of 0x20 (as specified by the ISA PNP spec). - ns_detect => \&smsc_ns_detect_superio, - ns_chips => \@superio_ids_smsc_ns, - }, - { - family => "VIA/Winbond/Fintek", - guess => 0x290, - enter => - { - 0x2e => [0x87, 0x87], - 0x4e => [0x87, 0x87], - }, - chips => \@superio_ids_winbond, - }, - { - family => "ITE", - guess => 0x290, - enter => - { - 0x2e => [0x87, 0x01, 0x55, 0x55], - 0x4e => [0x87, 0x01, 0x55, 0xaa], - }, - chips => \@superio_ids_ite, - }, + { + family => "National Semiconductor", + enter => + { + 0x2e => [], + 0x4e => [], + }, + chips => \@superio_ids_natsemi, + }, { + family => "SMSC", + enter => + { + 0x2e => [0x55], + 0x4e => [0x55], + }, + chips => \@superio_ids_smsc, + ns_detect => \&smsc_ns_detect_superio, + ns_chips => \@superio_ids_smsc_ns, + }, { + family => "VIA/Winbond/Fintek", + guess => 0x290, + enter => + { + 0x2e => [0x87, 0x87], + 0x4e => [0x87, 0x87], + }, + chips => \@superio_ids_winbond, + }, { + family => "ITE", + guess => 0x290, + enter => + { + 0x2e => [0x87, 0x01, 0x55, 0x55], + 0x4e => [0x87, 0x01, 0x55, 0xaa], + }, + chips => \@superio_ids_ite, + } ); # Drivers for CPU embedded sensors