Print this page
8368 remove warlock leftovers from usr/src/uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/1394/s1394_dev_disc.c
          +++ new/usr/src/uts/common/io/1394/s1394_dev_disc.c
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  /*
  30   28   * s1394_dev_disc.c
  31   29   *    1394 Services Layer Device Discovery Routines
  32   30   *    This file contains the bus reset thread code, bus manager routines and
  33   31   *    various routines that are used to implement remote Config ROM reading.
  34   32   *
  35   33   *    FUTURE:
  36   34   *    Rescan the bus if invalid nodes are seen.
  37   35   *    Investigate taskq for reading phase2 config rom reads.
  38   36   *    If we are reading the entire bus info blk, we should attempt
↓ open down ↓ 437 lines elided ↑ open up ↑
 476  474   *    Flushes the completion queue and calls thread_exit() (which effectively
 477  475   *    kills the bus reset thread).
 478  476   */
 479  477  static void
 480  478  s1394_br_thread_exit(s1394_hal_t *hal)
 481  479  {
 482  480          ASSERT(MUTEX_HELD(&hal->br_thread_mutex));
 483  481          ASSERT(MUTEX_NOT_HELD(&hal->topology_tree_mutex));
 484  482          TNF_PROBE_0(s1394_br_thread_exit_enter, S1394_TNF_SL_HOTPLUG_STACK, "");
 485  483          s1394_flush_cmplq(hal);
 486      -#ifndef __lock_lint
 487  484          CALLB_CPR_EXIT(&hal->hal_cprinfo);
 488      -#endif
 489  485          hal->br_thread_ev_type &= ~BR_THR_GO_AWAY;
 490  486          thread_exit();
 491  487          /*NOTREACHED*/
 492  488          TNF_PROBE_0(s1394_br_thread_exit_enter, S1394_TNF_SL_HOTPLUG_STACK, "");
 493  489  }
 494  490  
 495  491  /*
 496  492   * s1394_target_bus_reset_notifies()
 497  493   *    tells the ndi event framework to invoke any callbacks registered for
 498  494   *    "bus reset event".
↓ open down ↓ 2923 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX