2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-01 23:05:25 +00:00

mh: Fix i2c-amd756 support for non-nForce chips (probably a

patch error vs changed source). Change module so it registers
the detected device in i2c under its own name (e.g,
AMD756/AMD766/AMD768/nVidia nForce rather than AMD7X6).
Updated sensors-detect accordingly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1367 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Merlin Hughes
2002-05-02 14:44:31 +00:00
parent 9334e32e6c
commit da76559ae6
2 changed files with 16 additions and 11 deletions

View File

@@ -227,7 +227,7 @@ use vars qw(@pci_adapters @chip_ids @undetectable_adapters);
func => 3,
procid => "AMD-756 Athlon ACPI",
driver => "i2c-amd756",
match => sub { $_[0] =~ /^SMBus AMD7X6 adapter at [0-9,a-f]{4}/ },
match => sub { $_[0] =~ /^SMBus AMD756 adapter at [0-9,a-f]{4}/ },
},
{
vendid => 0x1022,
@@ -235,7 +235,7 @@ use vars qw(@pci_adapters @chip_ids @undetectable_adapters);
func => 3,
procid => "AMD-766 Athlon ACPI",
driver => "i2c-amd756",
match => sub { $_[0] =~ /^SMBus AMD7X6 adapter at [0-9,a-f]{4}/ },
match => sub { $_[0] =~ /^SMBus AMD766 adapter at [0-9,a-f]{4}/ },
},
{
vendid => 0x1022,
@@ -243,7 +243,7 @@ use vars qw(@pci_adapters @chip_ids @undetectable_adapters);
func => 3,
procid => "AMD-768 System Management",
driver => "i2c-amd756",
match => sub { $_[0] =~ /^SMBus AMD7X6 adapter at [0-9,a-f]{4}/ },
match => sub { $_[0] =~ /^SMBus AMD768 adapter at [0-9,a-f]{4}/ },
},
{
vendid => 0x102b,
@@ -515,7 +515,7 @@ use vars qw(@pci_adapters @chip_ids @undetectable_adapters);
func => 1,
procid => "nVidia nForce SMBus",
driver => "i2c-amd756",
match => sub { $_[0] =~ /^SMBus AMD7X6 adapter at [0-9,a-f]{4}/ },
match => sub { $_[0] =~ /^SMBus nVidia nForce adapter at [0-9,a-f]{4}/ },
} ,
{
vendid => 0x1166,