NAME
Solaris::DeviceTree::Node - Base functions for devicetrees
DESCRIPTION
This class acts as a base class for subclasses of Solaris::DeviceTree to provide default values for all attributes and properties. It should not be necessary to instantiate objects of this class directly.
METHODS
The following methods are available:
- $parent = $node->parent_node;
-
Returns the parent node for this node. If this is the root node, then
undef
is returned. - @childs = $node->child_nodes;
-
This method returns a list with all children.
- $node = $node->root_node
-
Returns the root node of the tree.
- @siblings = $node->sibling_nodes
-
Returns the list of siblings for this object. A sibling is a child from our parent, but not ourselves.
- $path = $node->devfs_path
-
Returns the physical path assocatiated with this node.
- $nodename = $node->node_name;
-
Returns the name of the node used in the pysical path.
- $bindingname = $node->binding_name;
-
Returns the binding name of the driver for the node.
- $drivername = $node->driver_name;
-
Returns the driver name for the node.
- $busaddr = $node->bus_addr;
-
Returns the address on the bus for this node.
- $inst = $node->instance;
-
Returns the instance number of the bound driver for this node.
undef
is returned if no instance number has been assigned.
AUTHOR
Copyright 1999-2003 Dagobert Michelsen.
SEE ALSO
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 250:
You forgot a '=back' before '=head1'