Make sure that we set the device-rev property to 7 as found on a real Mac99 machine.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk --- drivers/macio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/macio.c b/drivers/macio.c index f54bc86..fe19091 100644 --- a/drivers/macio.c +++ b/drivers/macio.c @@ -240,7 +240,7 @@ ob_unin_init(void) dnode = find_dev("/uni-n"); set_property(dnode, "device_type", "memory-controller", 18); set_property(dnode, "compatible", "uni-north", 10); - set_int_property(dnode, "device-rev", 0); + set_int_property(dnode, "device-rev", 7); props[0] = __cpu_to_be32(0xf8000000); props[1] = __cpu_to_be32(0x1000000); set_property(dnode, "reg", (char *)&props, sizeof(props));