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:
Alastair Poole 2020-06-13 20:54:11 +01:00
parent b1d6b691a5
commit 0f89e698bb
1 changed files with 2 additions and 0 deletions

View File

@ -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++) {