All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH] lm-sensors: replace references to bmcsensors
@ 2007-06-06 20:35 Juerg Haefliger
  2007-06-07  8:33 ` [lm-sensors] [PATCH] lm-sensors: replace references to Jean Delvare
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Juerg Haefliger @ 2007-06-06 20:35 UTC (permalink / raw)
  To: lm-sensors

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

This patch replaces all references to bmcsensors and i2c-ipmi with
ipmisensors and ipmi-si in sensors-detect.

Signed-off-by: Juerg Haefliger <juergh at gmail.com>

[-- Attachment #2: lm-sensors-replace-ref-to-bmcsensors.patch --]
[-- Type: text/x-patch, Size: 1687 bytes --]

--- lm-sensors.orig/prog/detect/sensors-detect	2007-06-06 09:50:41.886394000 -0700
+++ lm-sensors/prog/detect/sensors-detect	2007-06-06 11:53:22.487201000 -0700
@@ -1514,13 +1514,13 @@ use vars qw(@pci_adapters_sis5595 @pci_a
      },
      {
        name => "IPMI BMC KCS",
-       driver => "bmcsensors",
+       driver => "ipmisensors",
        isa_addrs => [ 0x0ca0 ],
        isa_detect => sub { ipmi_kcs_detect(@_); },
      },
      {
        name => "IPMI BMC SMIC",
-       driver => "bmcsensors",
+       driver => "ipmisensors",
        isa_addrs => [ 0x0ca8 ],
        isa_detect => sub { ipmi_smic_detect(@_); },
      },
@@ -5409,7 +5409,7 @@ sub generate_modprobes
   my ($prefer_isa) = @_;
 
   my ($chip,$detection,$nr,$i,@optionlist,@probelist,$driver,$isa,$adap);
-  my $bmcsensors = 0;
+  my $ipmisensors = 0;
   my @adapters;
   my $modprobes = "";
   my $configfile = "";
@@ -5449,8 +5449,8 @@ sub generate_modprobes
           not (exists $detection->{i2c_driver} and not $prefer_isa)) {
            $isa=1;
       }
-      if ($chip->{driver} eq "bmcsensors") {
-           $bmcsensors=1;
+      if ($chip->{driver} eq "ipmisensors") {
+           $ipmisensors=1;
       }
     }
   }
@@ -5475,9 +5475,9 @@ sub generate_modprobes
   # i2c-isa is loaded automatically (as a dependency) since 2.6.14,
   # and will soon be gone.
   $modprobes .= "modprobe i2c-isa\n" if ($isa && !kernel_version_at_least(2, 6, 18));
-  if ($bmcsensors) {
+  if ($ipmisensors) {
     $modprobes .= "# You must also install and load the IPMI modules\n";
-    $modprobes .= "modprobe i2c-ipmi\n";
+    $modprobes .= "modprobe ipmi-si\n";
   }
 
   # Now determine the chip probe lines

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-06-08 17:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06 20:35 [lm-sensors] [PATCH] lm-sensors: replace references to bmcsensors Juerg Haefliger
2007-06-07  8:33 ` [lm-sensors] [PATCH] lm-sensors: replace references to Jean Delvare
2007-06-07 18:37 ` [lm-sensors] [PATCH] lm-sensors: replace references to bmcsensors Juerg Haefliger
2007-06-08 14:07 ` [lm-sensors] [PATCH] lm-sensors: replace references to Jean Delvare
2007-06-08 15:32 ` Keith Romberg
2007-06-08 17:05 ` Juerg Haefliger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.