summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2008-12-02 17:39:32 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2008-12-02 17:39:32 +0000
commitc29f103edccc8842a4310515d4cf9d4c8ec4673f (patch)
tree4b4fcf4d0f5961d38606748254ea16dd4f43ad88
parent7ec494c0452e442df9134c2a2ed4ffdf0d47c940 (diff)
downloadlm-sensors-c29f103edccc8842a4310515d4cf9d4c8ec4673f.tar.gz
Drop redundant comments in PCI / CPU detection section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5499 7894878c-1315-0410-8ee3-d5d059ff63e0
-rwxr-xr-xprog/detect/sensors-detect16
1 files changed, 3 insertions, 13 deletions
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index 489f6ee7..b70a6959 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -4640,35 +4640,28 @@ sub winbond_alias_detect
return 1;
}
-######################
-# PCI CHIP DETECTION #
-######################
+############################
+# PCI CHIP / CPU DETECTION #
+############################
-# Returns: undef if not detected, (9) if detected.
-# The address is encoded in PCI space. We could decode it and print it.
sub sis5595_pci_detect
{
return unless exists $pci_list{'1039:0008'};
return 9;
}
-# Returns: undef if not detected, (9) if detected.
-# The address is encoded in PCI space. We could decode it and print it.
sub via686a_pci_detect
{
return unless exists $pci_list{'1106:3057'};
return 9;
}
-# Returns: undef if not detected, (9) if detected.
-# The address is encoded in PCI space. We could decode it and print it.
sub via8231_pci_detect
{
return unless exists $pci_list{'1106:8235'};
return 9;
}
-# Returns: undef if not detected, (9) if detected.
sub k8temp_pci_detect
{
return unless exists $pci_list{'1022:1103'};
@@ -4681,7 +4674,6 @@ sub k10temp_pci_detect
return 9;
}
-# Returns: undef if not detected, (9) if detected.
sub intel_amb_detect
{
if ((exists $pci_list{'8086:25f0'}) || # Intel 5000
@@ -4691,7 +4683,6 @@ sub intel_amb_detect
return;
}
-# Returns: undef if not detected, (9) if detected.
sub coretemp_detect
{
my $probecpu;
@@ -4708,7 +4699,6 @@ sub coretemp_detect
return;
}
-# Returns: undef if not detected, (9) if detected.
sub c7temp_detect
{
my $probecpu;