mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-03 15:55:15 +00:00
As of kernel 2.6.28, alias detection is handled by kernel drivers
directly, so module options are no longer needed. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5432 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -24,6 +24,7 @@ SVN-HEAD
|
||||
Merge both GL518SM entries into one
|
||||
Complete GL520SM detection
|
||||
Improve GL525SM detection a bit
|
||||
Let kernel 2.6.28 and later handle chips aliases
|
||||
|
||||
3.0.3 (2008-09-28)
|
||||
libsensors: Avoid namespace pollution
|
||||
|
@@ -5249,6 +5249,9 @@ sub generate_modprobes
|
||||
}
|
||||
|
||||
# Handle aliases
|
||||
# As of kernel 2.6.28, alias detection is handled by kernel drivers
|
||||
# directly, so module options are no longer needed.
|
||||
unless (kernel_version_at_least(2, 6, 28)) {
|
||||
foreach $detection (@{$chip->{detected}}) {
|
||||
if (exists $detection->{i2c_driver} and
|
||||
exists $detection->{isa_addr} and
|
||||
@@ -5257,6 +5260,7 @@ sub generate_modprobes
|
||||
$detection->{i2c_addr};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
next if not (@probelist or @optionlist);
|
||||
$configfile = "# hwmon module options\n" unless defined $configfile;
|
||||
|
Reference in New Issue
Block a user