Home | History | Annotate | Download | only in warlock
      1 #
      2 # CDDL HEADER START
      3 #
      4 # The contents of this file are subject to the terms of the
      5 # Common Development and Distribution License (the "License").
      6 # You may not use this file except in compliance with the License.
      7 #
      8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9 # or http://www.opensolaris.org/os/licensing.
     10 # See the License for the specific language governing permissions
     11 # and limitations under the License.
     12 #
     13 # When distributing Covered Code, include this CDDL HEADER in each
     14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15 # If applicable, add the following below this CDDL HEADER, with the
     16 # fields enclosed by brackets "[]" replaced with your own identifying
     17 # information: Portions Copyright [yyyy] [name of copyright owner]
     18 #
     19 # CDDL HEADER END
     20 #
     21 
     22 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
     23 # Use is subject to license terms.
     24 #
     25 #ident	"%Z%%M%	%I%	%E% SMI"
     26 
     27 add scsi_watch_request::swr_callback targets \
     28 	st.c:st_media_watch_cb
     29 
     30 add scsi_pkt::pkt_comp targets \
     31         st.c:st_media_watch_cb \
     32 	scsi_watch.c:scsi_watch_request_intr \
     33 	st.c:st_intr \
     34 	fas.c:fas_scsi_destroy_pkt \
     35 	fas.c:fas_scsi_init_pkt \
     36 	fas.c:fas_scsi_start \
     37 	fas.c:fas_scsi_abort \
     38 	fas.c:fas_scsi_reset \
     39 	fas.c:fas_scsi_setcap \
     40 	fas.c:fas_scsi_getcap \
     41 	fas.c:fas_scsi_dmafree \
     42 	fas.c:fas_scsi_reset_notify \
     43 	fas.c:fas_scsi_sync_pkt
     44 
     45 add notify_entry::callback target warlock_dummy
     46 
     47 add st.c:st_known_tape_type/config_funct targets \
     48         st_get_conf_from_st_dot_conf \
     49         st_get_conf_from_st_conf_dot_c \
     50 	st_get_conf_from_tape_drive \
     51         st_get_default_conf  
     52 
     53 one scsi_device
     54 one fas 
     55 
     56 root fas_kmem_cache_constructor fas_kmem_cache_destructor
     57 root fas.c:fas_scsi_dmafree fas.c:fas_scsi_sync_pkt
     58 
     59 # choose one of the two for finding problems:
     60 #
     61 assert order scsi_device::sd_mutex  fas::f_mutex
     62 
     63 for ptr in `funcptrs | grep '^scsi_hba_tran::'`
     64 do
     65         add $ptr target warlock_dummy
     66 done
     67 root    scsi_hba_bus_power
     68 ignore  delay
     69 
     70 root	st_bigblk_xfer_done
     71