]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[mips/broadcom] set sysctl "hw.model" by SoC ChipCommon ID
authorMichael Zhilin <mizhka@FreeBSD.org>
Fri, 28 May 2021 20:32:30 +0000 (23:32 +0300)
committerMichael Zhilin <mizhka@FreeBSD.org>
Fri, 28 May 2021 20:35:37 +0000 (23:35 +0300)
commit91abbc4993a5964badd21bc691ae273a1a2d9c20
treeef1df5da4231acb4d284cad1aaea473fb3d52bf4
parent9aa0e5af75d033aa2dff763dd2886daaa7213612
[mips/broadcom] set sysctl "hw.model" by SoC ChipCommon ID

Small patch to set "hw.model" by SoC ChipCommon ID. On BCM4718 it will be BCM4716, because 4716 is core for 4716,4717 & 4718.

Tested on Netgear WNR3500L (BCM4718) and Asus RT-N53 (BCM5357).

Reviewed by: landonf, yamori813@yahoo.co.jp
Sponsored by: Postgres Professional
Differential revision: https://reviews.freebsd.org/D12737
sys/mips/broadcom/bcm_machdep.c