raw1394_get_(local_id|irm_id|nodecount)

Name

raw1394_get_local_id, raw1394_get_irm_id, raw1394_get_nodecount -- return basic information about the bus

Synopsis

nodeid_t raw1394_get_local_id(raw1394handle_t handle);

nodeid_t raw1394_get_irm_id(raw1394handle_t handle);

int raw1394_get_nodecount(raw1394handle_t handle);

Arguments

handle

handle associated with a 1394 bus

Description

These functions return information about the 1394 bus the handle is associated with. The values that can be queried through these functions can change with every bus reset.

Return Value

raw1394_get_local_id() returns the node ID of the local node (i.e. the hardware the driver is controlling directly). raw1394_get_irm_id() returns the node ID of the node that has become isochronous resource manager. raw1394_get_nodecount returns the number of nodes currently on the bus (including the local node).