From 71c5a661a7b57864afa1ca09d71d5655fe1f0eee Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 13 Aug 2005 08:44:59 +0000 Subject: [PATCH] Add some case insensitiveness to the regexp matching the i2c-viapro adapter name, in anticipation of a future change. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3051 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 86ea1c17..5ed75e4d 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -171,7 +171,7 @@ $revision =~ s/\$\w+: (.*?) \$/$1/g; func => 3, procid => "VIA Technologies VT82C596 Apollo ACPI", driver => "i2c-viapro", - match => sub { $_[0] =~ /^SMBus Via Pro adapter at/ }, + match => sub { $_[0] =~ /^SMBus V(IA|ia) Pro adapter at/ }, } , { vendid => 0x1106, @@ -179,7 +179,7 @@ $revision =~ s/\$\w+: (.*?) \$/$1/g; func => 3, procid => "VIA Technologies VT82C596B ACPI", driver => "i2c-viapro", - match => sub { $_[0] =~ /^SMBus Via Pro adapter at/ }, + match => sub { $_[0] =~ /^SMBus V(IA|ia) Pro adapter at/ }, } , { vendid => 0x1106, @@ -187,7 +187,7 @@ $revision =~ s/\$\w+: (.*?) \$/$1/g; func => 4, procid => "VIA Technologies VT82C686 Apollo ACPI", driver => "i2c-viapro", - match => sub { $_[0] =~ /^SMBus Via Pro adapter at/ }, + match => sub { $_[0] =~ /^SMBus V(IA|ia) Pro adapter at/ }, } , { vendid => 0x1106, @@ -195,7 +195,7 @@ $revision =~ s/\$\w+: (.*?) \$/$1/g; func => 0, procid => "VIA Technologies VT8233 VLink South Bridge", driver => "i2c-viapro", - match => sub { $_[0] =~ /^SMBus Via Pro adapter at/ }, + match => sub { $_[0] =~ /^SMBus V(IA|ia) Pro adapter at/ }, } , { vendid => 0x1106, @@ -203,7 +203,7 @@ $revision =~ s/\$\w+: (.*?) \$/$1/g; func => 0, procid => "VIA Technologies VT8233A South Bridge", driver => "i2c-viapro", - match => sub { $_[0] =~ /^SMBus Via Pro adapter at/ }, + match => sub { $_[0] =~ /^SMBus V(IA|ia) Pro adapter at/ }, } , { vendid => 0x1106, @@ -211,7 +211,7 @@ $revision =~ s/\$\w+: (.*?) \$/$1/g; func => 0, procid => "VIA Technologies VT8233A/8235 South Bridge", driver => "i2c-viapro", - match => sub { $_[0] =~ /^SMBus Via Pro adapter at/ }, + match => sub { $_[0] =~ /^SMBus V(IA|ia) Pro adapter at/ }, } , { vendid => 0x1106, @@ -219,7 +219,7 @@ $revision =~ s/\$\w+: (.*?) \$/$1/g; func => 0, procid => "VIA Technologies VT8237 South Bridge", driver => "i2c-viapro", - match => sub { $_[0] =~ /^SMBus Via Pro adapter at/ }, + match => sub { $_[0] =~ /^SMBus V(IA|ia) Pro adapter at/ }, } , { vendid => 0x1106, @@ -227,7 +227,7 @@ $revision =~ s/\$\w+: (.*?) \$/$1/g; func => 4, procid => "VIA Technologies VT8231 South Bridge", driver => "i2c-viapro", - match => sub { $_[0] =~ /^SMBus Via Pro adapter at/ }, + match => sub { $_[0] =~ /^SMBus V(IA|ia) Pro adapter at/ }, } , { vendid => 0x1039,