]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Unbreak the LBC driver, broken with the large RMan and 36-bit physical address changes.
authorjhibbits <jhibbits@FreeBSD.org>
Tue, 5 Jul 2016 06:14:23 +0000 (06:14 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Tue, 5 Jul 2016 06:14:23 +0000 (06:14 +0000)
commit3720bcbd30f30d6094fb68f4fd070f0bb5489398
treebe87953f94e6cec0faeaf4b443f04f0e9e574324
parent58667ff11c68ece556bfb71b54362c21beb187c9
Unbreak the LBC driver, broken with the large RMan and 36-bit physical address changes.

Remove the use of fdt_data_to_res(), and instead construct the resources
manually.  Additionally, avoid the 32-bit size limitation of fdt_data_get(), by
building physical addresses manually from the lbc ranges property.

Approved by: re@(gjb)
sys/powerpc/mpc85xx/lbc.c