Josh Boyer 834d97d452 [POWERPC] Add of_device_is_available function
IEEE 1275 defined a standard "status" property to indicate the operational
status of a device.  The property has four possible values: okay, disabled,
fail, fail-xxx.  The absence of this property means the operational status
of the device is unknown or okay.

This adds a function called of_device_is_available that checks the state
of the status property of a device.  If the property is absent or set to
either "okay" or "ok", it returns 1.  Otherwise it returns 0.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-07 13:49:23 +10:00
..
2008-03-17 07:56:31 -04:00
2008-02-05 09:44:23 -08:00
2008-03-12 14:15:00 +01:00
2008-02-08 09:22:38 -08:00
2008-03-24 19:22:19 -07:00
2008-03-15 19:17:12 -07:00
2008-02-13 16:21:19 -08:00
2008-03-03 10:47:13 -08:00
2008-03-19 18:53:37 -07:00
2008-02-26 14:12:09 +09:00
2008-03-18 01:22:10 -04:00
2008-03-24 22:26:15 -07:00
2008-03-19 18:53:37 -07:00
2008-03-17 22:58:21 +11:00
2008-03-04 16:35:12 -08:00