/* * The lm87 contains a whole pile of sensors, additionally, * the Xserve G5 has several lm87's. However, for now we only * care about the internal temperature sensor
*/
for_each_child_of_node(client->dev.of_node, np) { if (!of_node_name_eq(np, "int-temp")) continue;
loc = of_get_property(np, "location", NULL); if (!loc) continue; if (strstr(loc, "DIMM"))
name = "dimms-temp"; elseif (strstr(loc, "Processors"))
name = "between-cpus-temp"; if (name) {
of_node_put(np); break;
}
} if (!name) {
pr_warn("wf_lm87: Unsupported sensor %pOF\n",
client->dev.of_node); return -ENODEV;
}
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.1Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.