j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2009-05-05 19:57:18 +0200 (Tue, 05 May 2009) New Revision: 486
Modified: trunk/openbios-devel/drivers/floppy.c Log: Fix device_type property
Modified: trunk/openbios-devel/drivers/floppy.c =================================================================== --- trunk/openbios-devel/drivers/floppy.c 2009-04-28 16:40:49 UTC (rev 485) +++ trunk/openbios-devel/drivers/floppy.c 2009-05-05 17:57:18 UTC (rev 486) @@ -1076,8 +1076,7 @@ int props[3]; phandle_t ph = find_dev(path);
- push_str("block"); - fword("device-type"); + set_property(ph, "device_type", "block", sizeof("block"));
// Set dummy reg properties props[0] = __cpu_to_be32(0); props[1] = __cpu_to_be32(0); props[2] = __cpu_to_be32(0);