From 03ce45ec13f10fcb09ecb18db0868d43d31c0717 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sat, 1 Sep 2001 18:12:00 +0000 Subject: [PATCH] add ali1535 detection. Same PCI ID as 15x3, but only the correct module will actually load. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1171 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + prog/detect/sensors-detect | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index c3388206..a77c5c6b 100644 --- a/CHANGES +++ b/CHANGES @@ -19,6 +19,7 @@ ask CVS about it: 2.6.2 (2001????) Module via686a: Make limit initializations reliable + Program sensors-detect: Add ALI1535 detection 2.6.1 (20010830) File BUGS: Updated diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 572ef41d..e75ab81f 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -155,13 +155,24 @@ use vars qw(@pci_adapters @chip_ids @undetectable_adapters); procid => "Silicon Integrated Systems SIS730 (To be written - Do not use 5595 drivers)", match => sub { $_[0] =~ /dontmatchthis/ }, } , +# +# Both Ali chips below have same PCI ID. Can't be helped. Only one should load. +# { vendid => 0x10b9, devid => 0x7101, funcid => 0, - procid => "Acer Labs M7101", + procid => "Acer Labs 1533/1543", driver => "i2c-ali15x3", - match => sub { $_[0] =~ /^SMBus ALI15X3 adapter at [0-9,a-f]{4}/ }, + match => sub { $_[0] =~ /^SMBus ALI15X3 adapter at/ }, + }, + { + vendid => 0x10b9, + devid => 0x7101, + funcid => 0, + procid => "Acer Labs 1535", + driver => "i2c-ali1535", + match => sub { $_[0] =~ /^SMBus ALI1535 adapter at/ }, }, { vendid => 0x106b,