xref: /titanic_41/usr/src/uts/common/io/warlock/st.wlcmd (revision c2b6e926ea57d0ba055f91471cfc9772c7fbacd0)
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
27one scsi_device
28root scsi_hba_post_event scsi_hba_remove_eventcall scsi_hba_add_eventcall scsi_hba_get_eventcookie
29
30### Give warlock a dummy target for each of the function
31### pointers in the scsi_hba_tran structure.
32for ptr in `funcptrs | grep '^scsi_hba_tran::'`
33do
34	add $ptr target warlock_dummy
35done
36
37add scsi_watch_request::swr_callback targets st_media_watch_cb
38
39add st.c:st_known_tape_type/config_funct targets \
40        st_get_conf_from_st_dot_conf \
41        st_get_conf_from_st_conf_dot_c \
42	st_get_conf_from_tape_drive \
43        st_get_default_conf
44
45root    scsi_hba_bus_power
46ignore  delay
47root	st_bigblk_xfer_done
48