Changeset 5957
- Timestamp:
- 04/07/11 16:17:37 (14 months ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r5956 r5957 2178 2178 name => "AMD K8 thermal sensors", 2179 2179 driver => "k8temp", 2180 detect => \&k8temp_pci_detect,2180 detect => sub { amd_pci_detect('1103') }, 2181 2181 }, { 2182 2182 name => "AMD Family 10h thermal sensors", … … 2186 2186 name => "AMD Family 11h thermal sensors", 2187 2187 driver => "k10temp", 2188 detect => \&fam11h_pci_detect,2188 detect => sub { amd_pci_detect('1303') }, 2189 2189 }, { 2190 2190 name => "AMD Family 12h and 14h thermal sensors", 2191 2191 driver => "k10temp", 2192 detect => \&fam12h_14h_pci_detect,2192 detect => sub { amd_pci_detect('1703') }, 2193 2193 }, { 2194 2194 name => "AMD Family 15h thermal sensors", 2195 2195 driver => "k10temp", 2196 detect => \&fam15h_pci_detect,2196 detect => sub { amd_pci_detect('1603') }, 2197 2197 }, { 2198 2198 name => "Intel digital thermal sensor", … … 6111 6111 } 6112 6112 6113 sub k8temp_pci_detect 6114 { 6115 return unless exists $pci_list{'1022:1103'}; 6113 sub amd_pci_detect 6114 { 6115 my $f3_id = shift; 6116 return unless exists $pci_list{"1022:$f3_id"}; 6116 6117 return 9; 6117 6118 } … … 6141 6142 6142 6143 return; 6143 }6144 6145 sub fam11h_pci_detect6146 {6147 return unless exists $pci_list{'1022:1303'};6148 return 9;6149 }6150 6151 sub fam12h_14h_pci_detect6152 {6153 return unless exists $pci_list{'1022:1703'};6154 return 9;6155 }6156 6157 sub fam15h_pci_detect6158 {6159 return unless exists $pci_list{'1022:1603'};6160 return 9;6161 6144 } 6162 6145
