OpenBSD: Support RPI2/3 and 4 (pending).
There is a driver to go along with this. See: https://haxlab.org/rpi4/bcm2711_temp.diff.txt
This commit is contained in:
parent
b1d6b691a5
commit
0f89e698bb
|
@ -662,6 +662,8 @@ _temperature_cpu_get(int *temperature)
|
|||
break;
|
||||
else if (!strcmp("km0", snsrdev.xname))
|
||||
break;
|
||||
else if (!strncmp("bcmt", snsrdev.xname, 4))
|
||||
break;
|
||||
}
|
||||
|
||||
for (numt = 0; numt < snsrdev.maxnumt[SENSOR_TEMP]; numt++) {
|
||||
|
|
Loading…
Reference in New Issue