[Linux1394-cvslog] rev 676 - trunk
Brought to you by:
aeb,
bencollins
From: SVN U. <ben...@li...> - 2002-11-16 20:34:10
|
Author: bencollins Date: 2002-11-16 15:33:37 -0500 (Sat, 16 Nov 2002) New Revision: 676 Modified: trunk/ieee1394_core.c Log: Get rid of excesive messages regarding cycle master Modified: trunk/ieee1394_core.c ============================================================================== --- trunk/ieee1394_core.c (original) +++ trunk/ieee1394_core.c 2002-11-16 15:33:38.000000000 -0500 @@ -419,24 +419,21 @@ void hpsb_check_cycle_master(struct hpsb_host *host) { - HPSB_INFO("Checking for host IRM cycle master"); - - /* check if host is IRM and not ROOT */ - if (host->is_irm && !host->is_root) { - HPSB_NOTICE("Host IRM is not root, resetting"); - if (host->reset_retries++ < 4) { - /* selfid stage did not yield valid cycle master */ - hpsb_reset_bus(host, LONG_RESET_FORCE_ROOT); - } else { - host->reset_retries = 0; - HPSB_NOTICE("Stopping out-of-control reset loop"); - HPSB_NOTICE("Warning - Cycle Master not set correctly"); - } - return; - } + /* check if host is IRM and not ROOT */ + if (host->is_irm && !host->is_root) { + HPSB_NOTICE("Host is IRM but not root, resetting"); + if (host->reset_retries++ < 4) { + /* selfid stage did not yield valid cycle master */ + hpsb_reset_bus(host, LONG_RESET_FORCE_ROOT); + } else { + host->reset_retries = 0; + HPSB_NOTICE("Stopping out-of-control reset loop"); + HPSB_NOTICE("Warning - Cycle Master not set correctly"); + } + return; + } - host->reset_retries = 0; - HPSB_INFO("Valid cycle master found"); + host->reset_retries = 0; } |