Thread: [Linux1394-cvslog] rev 614 - trunk
Brought to you by:
aeb,
bencollins
From: SVN U. <ben...@li...> - 2002-10-14 13:23:05
|
Author: bencollins Date: 2002-10-14 09:23:02 -0400 (Mon, 14 Oct 2002) New Revision: 614 Modified: trunk/nodemgr.c Log: Put tlabel counts in proc/devices output Modified: trunk/nodemgr.c ============================================================================== --- trunk/nodemgr.c (original) +++ trunk/nodemgr.c 2002-10-14 09:23:02.000000000 -0400 @@ -102,10 +102,11 @@ NODE_BUS_ARGS(ne->nodeid), (unsigned long long)ne->guid); /* Generic Node information */ - PUTF(" Vendor ID: `%s' [0x%06x]\n", + PUTF(" Vendor ID : `%s' [0x%06x]\n", ne->vendor_name ?: "Unknown", ne->vendor_id); PUTF(" Capabilities: 0x%06x\n", ne->capabilities); - PUTF(" Bus Options:\n"); + PUTF(" Free tlabels: %d\n", sem_getcount(&ne->tpool.count)); + PUTF(" Bus Options :\n"); PUTF(" IRMC(%d) CMC(%d) ISC(%d) BMC(%d) PMC(%d) GEN(%d)\n" " LSPD(%d) MAX_REC(%d) CYC_CLK_ACC(%d)\n", ne->busopt.irmc, ne->busopt.cmc, ne->busopt.isc, ne->busopt.bmc, @@ -119,6 +120,7 @@ PUTF(" Nodes connected : %d\n", ne->host->node_count); PUTF(" Nodes active : %d\n", ne->host->nodes_active); PUTF(" SelfIDs received: %d\n", ne->host->selfid_count); + PUTF(" Backup tlabels : %d\n", sem_getcount(&ne->host->tpool.count)); PUTF(" Irm ID : [" NODE_BUS_FMT "]\n", NODE_BUS_ARGS(ne->host->irm_id)); PUTF(" BusMgr ID : [" NODE_BUS_FMT "]\n", |