xref: /onnv-gate/usr/src/uts/common/io/warlock/sd_with_uata.wlcmd (revision 6590:4867b3aa761a)
13138Sfrits#
23138Sfrits# CDDL HEADER START
33138Sfrits#
43138Sfrits# The contents of this file are subject to the terms of the
53138Sfrits# Common Development and Distribution License (the "License").
63138Sfrits# You may not use this file except in compliance with the License.
73138Sfrits#
83138Sfrits# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93138Sfrits# or http://www.opensolaris.org/os/licensing.
103138Sfrits# See the License for the specific language governing permissions
113138Sfrits# and limitations under the License.
123138Sfrits#
133138Sfrits# When distributing Covered Code, include this CDDL HEADER in each
143138Sfrits# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153138Sfrits# If applicable, add the following below this CDDL HEADER, with the
163138Sfrits# fields enclosed by brackets "[]" replaced with your own identifying
173138Sfrits# information: Portions Copyright [yyyy] [name of copyright owner]
183138Sfrits#
193138Sfrits# CDDL HEADER END
203138Sfrits#
213138Sfrits
223138Sfrits#
23*6590Syl194034# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
243138Sfrits# Use is subject to license terms.
253138Sfrits#
263138Sfrits#ident	"%Z%%M%	%I%	%E% SMI"
273138Sfrits#
283138Sfrits
293138Sfritsadd scsi_watch_request::swr_callback targets \
303138Sfrits	sd.c:sd_mhd_watch_cb \
313138Sfrits	sd.c:sd_media_watch_cb
323138Sfrits
333138Sfritsadd     __ddi_xbuf_attr::xa_strategy targets sd_xbuf_strategy
343138Sfrits
353138Sfritsadd scsi_pkt::pkt_comp targets \
363138Sfrits	sd.c:sd_mhd_watch_cb \
373138Sfrits	sd.c:sd_media_watch_cb \
383138Sfrits	sd.c:sd_mhd_watch_cb \
393138Sfrits	scsi_watch.c:scsi_watch_request_intr \
403138Sfrits	sd.c:sdintr
413138Sfrits
423138Sfritsone 	scsi_device
433138Sfritsone 	ata_controller
443138Sfritsone     __ddi_xbuf_attr
453138Sfritsone     sd_lun
463138Sfritsone     sd_resv_reclaim_request
473138Sfrits
483138Sfrits
493138Sfrits### The following are not used
503138Sfritsfor ptr in `funcptrs | grep '^scsi_hba_tran::'`
513138Sfritsdo
523138Sfrits        add $ptr target warlock_dummy
533138Sfritsdone
543138Sfrits
553138Sfrits
563138Sfrits### Declaring the following as root functions
573138Sfritsroot scsi_hba_add_eventcall scsi_hba_get_eventcookie scsi_hba_post_event
583138Sfritsroot scsi_hba_remove_eventcall ata_bus_ctl ghd_timer_fini ghd_timer_init
593138Sfrits
603138Sfritsroot sd_handle_mchange sd_media_change_task sd_start_stop_unit_task
613138Sfritsroot sd_wm_cache_constructor sd_wm_cache_destructor sd_read_modify_write_task
623138Sfritsroot sd_failfast_flushq_callback sd_reenable_dsense_task
63*6590Syl194034root sd_target_change_task
643138Sfrits
653138Sfritsadd sd.c:sd_start_cmds/funcp target sd_initpkt_for_buf sd_initpkt_for_uscsi
663138Sfrits
673138Sfrits### These are the HBA entry points for atapi
683138Sfritsadd scsi_hba_tran::tran_tgt_init target atapi_tran_tgt_init
693138Sfritsadd scsi_hba_tran::tran_tgt_probe target atapi_tran_tgt_probe
703138Sfritsadd scsi_hba_tran::tran_start  target atapi_tran_start
713138Sfritsadd scsi_hba_tran::tran_abort target atapi_tran_abort
723138Sfritsadd scsi_hba_tran::tran_init_pkt target atapi_tran_init_pkt
733138Sfritsadd scsi_hba_tran::tran_destroy_pkt  target atapi_tran_destroy_pkt
743138Sfrits
753138Sfritsadd ata_pkt::ap_start targets \
763138Sfrits        atapi_start \
773138Sfrits        ata_disk_start
783138Sfrits
793138Sfritsadd ata_pkt::ap_intr targets \
803138Sfrits        atapi_intr \
813138Sfrits        ata_disk_intr
823138Sfrits
833138Sfritsadd ata_pkt::ap_complete targets \
843138Sfrits        atapi_complete \
853138Sfrits        ata_disk_complete
863138Sfrits
873138Sfrits### Entry points for ghd
883138Sfrits
893138Sfritsadd cmd_ctl::ccc_hba_start target ata_hba_start
903138Sfritsadd cmd_ctl::ccc_hba_complete target ata_hba_complete
913138Sfritsadd cmd_ctl::ccc_process_intr target ata_process_intr
923138Sfritsadd cmd_ctl::ccc_get_status target ata_get_status
933138Sfritsadd cmd_ctl::ccc_timeout_func target ata_timeout_func
943138Sfritsadd processfunc target ata_process_intr
953138Sfritsadd statfunc target ata_get_status
963138Sfrits
973138Sfrits
983138Sfrits### The following are commented as they would not be called
993138Sfrits
1003138Sfritsadd dcd_pkt::pkt_comp target warlock_dummy
1013138Sfritsadd cmd_ctl::ccc_ccballoc target warlock_dummy
1023138Sfritsadd cmd_ctl::ccc_ccbfree target warlock_dummy
1033138Sfrits
1043138Sfrits### Ignore the following functions as they are never used
1053138Sfrits
1063138Sfritsignore L1_remove ata_disk_init_reset ghd_doneq_put ghd_gcmd_alloc
1073138Sfritsignore ghd_gcmd_free ghd_timer_stop ghd_tran_sync_pkt
1083138Sfritsignore scsi_htos_3byte scsi_htos_long scsi_htos_short scsi_stoh_3byte
1093138Sfritsignore scsi_stoh_long scsi_stoh_short sd_mhd_reset_notify_cb
1103138Sfrits
1113138Sfrits### The following functions need to be ignored for sd as they are never called
1123138Sfrits### for atapi device. The uata hba caters to dad target driver also & the
1133138Sfrits### the following are entry points for it
1143138Sfritsignore make_prd ata_disk_tran_abort ata_disk_tran_destroy_pkt
1153138Sfritsignore ata_disk_tran_init_pkt ata_disk_tran_reset ata_disk_tran_start
1163138Sfritsignore ata_disk_tran_tgt_init ata_disk_tran_tgt_probe
1173138Sfrits
1183138Sfrits### The following are atapi related but never invoked so ignore them too.
1193138Sfrits
1203138Sfritsignore atapi_tran_dmafree atapi_tran_sync_pkt
1213138Sfritsroot 	atapi_signature
1223138Sfritsroot    scsi_hba_bus_power
1233138Sfritsignore  delay
1243138Sfritsadd     sd_uscsi_info::ui_dkc.dkc_callback targets warlock_dummy
1253138Sfritsadd     dk_callback::dkc_callback targets warlock_dummy
1263138Sfrits
1273138Sfritsroot ghd_pktfree ghd_pktalloc
128