xref: /titanic_50/usr/src/uts/common/io/warlock/sd.wlcmd (revision 72888e72b624f86b06ea05b1de2287dcf9f40d23)
14ebb14b2Sfrits#
24ebb14b2Sfrits# CDDL HEADER START
34ebb14b2Sfrits#
44ebb14b2Sfrits# The contents of this file are subject to the terms of the
54ebb14b2Sfrits# Common Development and Distribution License (the "License").
64ebb14b2Sfrits# You may not use this file except in compliance with the License.
74ebb14b2Sfrits#
84ebb14b2Sfrits# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94ebb14b2Sfrits# or http://www.opensolaris.org/os/licensing.
104ebb14b2Sfrits# See the License for the specific language governing permissions
114ebb14b2Sfrits# and limitations under the License.
124ebb14b2Sfrits#
134ebb14b2Sfrits# When distributing Covered Code, include this CDDL HEADER in each
144ebb14b2Sfrits# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154ebb14b2Sfrits# If applicable, add the following below this CDDL HEADER, with the
164ebb14b2Sfrits# fields enclosed by brackets "[]" replaced with your own identifying
174ebb14b2Sfrits# information: Portions Copyright [yyyy] [name of copyright owner]
184ebb14b2Sfrits#
194ebb14b2Sfrits# CDDL HEADER END
204ebb14b2Sfrits#
214ebb14b2Sfrits#
22*72888e72Speng liu - Sun Microsystems - Beijing China# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
234ebb14b2Sfrits# Use is subject to license terms.
244ebb14b2Sfrits#
254ebb14b2Sfrits
264ebb14b2Sfritsone	scsi_device
274ebb14b2Sfritsone	__ddi_xbuf_attr
284ebb14b2Sfritsone	sd_lun
294ebb14b2Sfritsone	sd_resv_reclaim_request
304ebb14b2Sfrits
314ebb14b2Sfritsroot sd_mhd_reset_notify_cb
324ebb14b2Sfrits
334ebb14b2Sfritsroot sd_handle_mchange sd_media_change_task sd_start_stop_unit_task
344ebb14b2Sfritsroot sd_wm_cache_constructor sd_wm_cache_destructor sd_read_modify_write_task
354ebb14b2Sfritsroot sd_failfast_flushq_callback sd_reenable_dsense_task
364ebb14b2Sfritsroot sd_start_direct_priority_command
37af007057Syl194034root sd_target_change_task
38*72888e72Speng liu - Sun Microsystems - Beijing Chinaroot xbuf_brk_done
394ebb14b2Sfrits
404ebb14b2Sfrits### Give warlock a dummy target for each of the function
414ebb14b2Sfrits### pointers in the scsi_hba_tran structure.
424ebb14b2Sfritsfor ptr in `funcptrs | grep '^scsi_hba_tran::'`
434ebb14b2Sfritsdo
444ebb14b2Sfrits	add $ptr target warlock_dummy
454ebb14b2Sfritsdone
464ebb14b2Sfritsroot	scsi_hba_bus_power
471fad2c0eSXiao Raymond Liroot	scsi_hba_fm_init_child
481fad2c0eSXiao Raymond Liroot	sdrunout
494ebb14b2Sfrits
504ebb14b2Sfritsadd scsi_watch_request::swr_callback targets sd_media_watch_cb sd_mhd_watch_cb
514ebb14b2Sfritsadd sd.c:sd_start_cmds/funcp target sd_initpkt_for_buf sd_initpkt_for_uscsi
524ebb14b2Sfrits
534ebb14b2Sfritsadd 	__ddi_xbuf_attr::xa_strategy targets sd_xbuf_strategy
544ebb14b2Sfrits
554ebb14b2Sfritsadd	sd_uscsi_info::ui_dkc.dkc_callback targets warlock_dummy
564ebb14b2Sfritsadd	dk_callback::dkc_callback targets warlock_dummy
57