1. 09 2月, 2010 2 次提交
  2. 29 1月, 2010 2 次提交
  3. 24 11月, 2009 1 次提交
  4. 16 10月, 2009 1 次提交
  5. 23 9月, 2009 1 次提交
  6. 19 5月, 2009 1 次提交
  7. 27 4月, 2009 1 次提交
  8. 01 4月, 2009 1 次提交
  9. 21 12月, 2008 2 次提交
  10. 19 11月, 2008 1 次提交
  11. 14 10月, 2008 1 次提交
  12. 13 10月, 2008 1 次提交
  13. 10 10月, 2008 1 次提交
  14. 09 10月, 2008 1 次提交
  15. 26 7月, 2008 1 次提交
  16. 15 5月, 2008 1 次提交
  17. 07 4月, 2008 1 次提交
    • J
      [POWERPC] Add of_device_is_available function · 834d97d4
      Josh Boyer 提交于
      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: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      834d97d4
  18. 06 2月, 2008 1 次提交
    • M
      [POWERPC] Add of_get_next_parent() · f4eb0107
      Michael Ellerman 提交于
      Iterating through a device node's parents is simple enough, but dealing
      with the refcounts properly is a little ugly, and replicating that logic
      is asking for someone to get it wrong or forget it all together, eg:
      
      while (dn != NULL) {
      	/* loop body */
      	tmp = of_get_parent(dn);
      	of_node_put(dn);
      	dn = tmp;
      }
      
      So add of_get_next_parent(), inspired by of_get_next_child().  The
      contract is that it returns the parent and drops the reference on the
      current node, this makes the loop look like:
      
      while (dn != NULL) {
      	/* loop body */
      	dn = of_get_next_parent(dn);
      }
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f4eb0107
  19. 17 1月, 2008 1 次提交
  20. 20 7月, 2007 6 次提交