Author: agraf Date: Wed Jun 26 03:49:20 2013 New Revision: 1163 URL: http://tracker.coreboot.org/trac/openbios/changeset/1163
Log: Cuda: Add device_type property
Mac OS X wants to have a device_type property in the via-cuda node to find and identify it properly.
Signed-off-by: Alexander Graf agraf@suse.de
Modified: trunk/openbios-devel/drivers/cuda.c
Modified: trunk/openbios-devel/drivers/cuda.c ============================================================================== --- trunk/openbios-devel/drivers/cuda.c Tue Jun 25 19:23:09 2013 (r1162) +++ trunk/openbios-devel/drivers/cuda.c Wed Jun 26 03:49:20 2013 (r1163) @@ -190,6 +190,7 @@ set_int_property(ph, "#address-cells", 1); set_int_property(ph, "#size-cells", 0);
+ set_property(ph, "device_type", "via-cuda", 9); set_property(ph, "compatible", "cuda", 5);
props[0] = __cpu_to_be32(IO_CUDA_OFFSET);