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# 23# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26#ident "%Z%%M% %I% %E% SMI" 27# 28 29add scsi_watch_request::swr_callback targets \ 30 sd.c:sd_mhd_watch_cb \ 31 sd.c:sd_media_watch_cb 32 33add __ddi_xbuf_attr::xa_strategy targets sd_xbuf_strategy 34 35add scsi_pkt::pkt_comp targets \ 36 sd.c:sd_mhd_watch_cb \ 37 sd.c:sd_media_watch_cb \ 38 sd.c:sd_mhd_watch_cb \ 39 scsi_watch.c:scsi_watch_request_intr \ 40 sd.c:sdintr 41 42one scsi_device 43one ata_controller 44one __ddi_xbuf_attr 45one sd_lun 46one sd_resv_reclaim_request 47 48 49### The following are not used 50for ptr in `funcptrs | grep '^scsi_hba_tran::'` 51do 52 add $ptr target warlock_dummy 53done 54 55 56### Declaring the following as root functions 57root scsi_hba_add_eventcall scsi_hba_get_eventcookie scsi_hba_post_event 58root scsi_hba_remove_eventcall ata_bus_ctl ghd_timer_fini ghd_timer_init 59 60root sd_handle_mchange sd_media_change_task sd_start_stop_unit_task 61root sd_wm_cache_constructor sd_wm_cache_destructor sd_read_modify_write_task 62root sd_failfast_flushq_callback sd_reenable_dsense_task 63root sd_target_change_task 64 65add sd.c:sd_start_cmds/funcp target sd_initpkt_for_buf sd_initpkt_for_uscsi 66 67### These are the HBA entry points for atapi 68add scsi_hba_tran::tran_tgt_init target atapi_tran_tgt_init 69add scsi_hba_tran::tran_tgt_probe target atapi_tran_tgt_probe 70add scsi_hba_tran::tran_start target atapi_tran_start 71add scsi_hba_tran::tran_abort target atapi_tran_abort 72add scsi_hba_tran::tran_init_pkt target atapi_tran_init_pkt 73add scsi_hba_tran::tran_destroy_pkt target atapi_tran_destroy_pkt 74 75add ata_pkt::ap_start targets \ 76 atapi_start \ 77 ata_disk_start 78 79add ata_pkt::ap_intr targets \ 80 atapi_intr \ 81 ata_disk_intr 82 83add ata_pkt::ap_complete targets \ 84 atapi_complete \ 85 ata_disk_complete 86 87### Entry points for ghd 88 89add cmd_ctl::ccc_hba_start target ata_hba_start 90add cmd_ctl::ccc_hba_complete target ata_hba_complete 91add cmd_ctl::ccc_process_intr target ata_process_intr 92add cmd_ctl::ccc_get_status target ata_get_status 93add cmd_ctl::ccc_timeout_func target ata_timeout_func 94add processfunc target ata_process_intr 95add statfunc target ata_get_status 96 97 98### The following are commented as they would not be called 99 100add dcd_pkt::pkt_comp target warlock_dummy 101add cmd_ctl::ccc_ccballoc target warlock_dummy 102add cmd_ctl::ccc_ccbfree target warlock_dummy 103 104### Ignore the following functions as they are never used 105 106ignore L1_remove ata_disk_init_reset ghd_doneq_put ghd_gcmd_alloc 107ignore ghd_gcmd_free ghd_timer_stop ghd_tran_sync_pkt 108ignore scsi_htos_3byte scsi_htos_long scsi_htos_short scsi_stoh_3byte 109ignore scsi_stoh_long scsi_stoh_short sd_mhd_reset_notify_cb 110 111### The following functions need to be ignored for sd as they are never called 112### for atapi device. The uata hba caters to dad target driver also & the 113### the following are entry points for it 114ignore make_prd ata_disk_tran_abort ata_disk_tran_destroy_pkt 115ignore ata_disk_tran_init_pkt ata_disk_tran_reset ata_disk_tran_start 116ignore ata_disk_tran_tgt_init ata_disk_tran_tgt_probe 117 118### The following are atapi related but never invoked so ignore them too. 119 120ignore atapi_tran_dmafree atapi_tran_sync_pkt 121root atapi_signature 122root scsi_hba_bus_power 123ignore delay 124add sd_uscsi_info::ui_dkc.dkc_callback targets warlock_dummy 125add dk_callback::dkc_callback targets warlock_dummy 126 127root ghd_pktfree ghd_pktalloc 128