1*4ebb14b2Sfrits# 2*4ebb14b2Sfrits# CDDL HEADER START 3*4ebb14b2Sfrits# 4*4ebb14b2Sfrits# The contents of this file are subject to the terms of the 5*4ebb14b2Sfrits# Common Development and Distribution License (the "License"). 6*4ebb14b2Sfrits# You may not use this file except in compliance with the License. 7*4ebb14b2Sfrits# 8*4ebb14b2Sfrits# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*4ebb14b2Sfrits# or http://www.opensolaris.org/os/licensing. 10*4ebb14b2Sfrits# See the License for the specific language governing permissions 11*4ebb14b2Sfrits# and limitations under the License. 12*4ebb14b2Sfrits# 13*4ebb14b2Sfrits# When distributing Covered Code, include this CDDL HEADER in each 14*4ebb14b2Sfrits# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*4ebb14b2Sfrits# If applicable, add the following below this CDDL HEADER, with the 16*4ebb14b2Sfrits# fields enclosed by brackets "[]" replaced with your own identifying 17*4ebb14b2Sfrits# information: Portions Copyright [yyyy] [name of copyright owner] 18*4ebb14b2Sfrits# 19*4ebb14b2Sfrits# CDDL HEADER END 20*4ebb14b2Sfrits# 21*4ebb14b2Sfrits 22*4ebb14b2Sfrits# 23*4ebb14b2Sfrits# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24*4ebb14b2Sfrits# Use is subject to license terms. 25*4ebb14b2Sfrits# 26*4ebb14b2Sfrits#ident "%Z%%M% %I% %E% SMI" 27*4ebb14b2Sfrits# 28*4ebb14b2Sfrits 29*4ebb14b2Sfrits### Warlock commands for analyzing the uata driver alone. 30*4ebb14b2Sfrits 31*4ebb14b2Sfrits### Tell warlock there's only one ata_controller struct, so that it will 32*4ebb14b2Sfrits### complain if the lock is acquired when it is already locked. 33*4ebb14b2Sfrits 34*4ebb14b2Sfritsone ata_controller 35*4ebb14b2Sfrits 36*4ebb14b2Sfrits### Tell warlock where calls through pkt_comp go. 37*4ebb14b2Sfrits 38*4ebb14b2Sfritsadd dcd_pkt::pkt_comp targets \ 39*4ebb14b2Sfrits ata_disk_tran_start \ 40*4ebb14b2Sfrits ata_disk_tran_reset \ 41*4ebb14b2Sfrits ata_disk_tran_abort \ 42*4ebb14b2Sfrits ata_disk_tran_init_pkt \ 43*4ebb14b2Sfrits ata_disk_tran_destroy_pkt \ 44*4ebb14b2Sfrits ata_disk_tran_tgt_init 45*4ebb14b2Sfrits 46*4ebb14b2Sfritsadd scsi_pkt::pkt_comp targets \ 47*4ebb14b2Sfrits atapi_tran_start \ 48*4ebb14b2Sfrits atapi_tran_abort \ 49*4ebb14b2Sfrits atapi_tran_init_pkt \ 50*4ebb14b2Sfrits atapi_tran_destroy_pkt \ 51*4ebb14b2Sfrits atapi_tran_dmafree \ 52*4ebb14b2Sfrits atapi_tran_sync_pkt \ 53*4ebb14b2Sfrits atapi_tran_getcap \ 54*4ebb14b2Sfrits atapi_tran_setcap \ 55*4ebb14b2Sfrits atapi_tran_reset \ 56*4ebb14b2Sfrits atapi_tran_tgt_free \ 57*4ebb14b2Sfrits atapi_tran_tgt_init \ 58*4ebb14b2Sfrits ata_disk_tran_tgt_probe 59*4ebb14b2Sfrits 60*4ebb14b2Sfrits 61*4ebb14b2Sfritsadd dcd_hba_tran::tran_tgt_init target ata_disk_tran_tgt_init 62*4ebb14b2Sfritsadd scsi_hba_tran::tran_tgt_init target atapi_tran_tgt_init 63*4ebb14b2Sfrits 64*4ebb14b2Sfritsadd dcd_hba_tran::tran_tgt_probe target ata_disk_tran_tgt_probe 65*4ebb14b2Sfritsadd scsi_hba_tran::tran_tgt_probe target atapi_tran_tgt_probe 66*4ebb14b2Sfritsadd scsi_hba_tran::tran_bus_power target warlock_dummy 67*4ebb14b2Sfrits 68*4ebb14b2Sfritsadd dcd_hba_tran::tran_start target ata_disk_tran_start 69*4ebb14b2Sfritsadd scsi_hba_tran::tran_start target atapi_tran_start 70*4ebb14b2Sfrits 71*4ebb14b2Sfritsadd dcd_hba_tran::tran_reset target ata_disk_tran_reset 72*4ebb14b2Sfrits 73*4ebb14b2Sfritsadd dcd_hba_tran::tran_abort target ata_disk_tran_abort 74*4ebb14b2Sfritsadd scsi_hba_tran::tran_abort target atapi_tran_abort 75*4ebb14b2Sfrits 76*4ebb14b2Sfritsadd dcd_hba_tran::tran_init_pkt target ata_disk_tran_init_pkt 77*4ebb14b2Sfritsadd scsi_hba_tran::tran_init_pkt target atapi_tran_init_pkt 78*4ebb14b2Sfrits 79*4ebb14b2Sfritsadd dcd_hba_tran::tran_destroy_pkt target ata_disk_tran_destroy_pkt 80*4ebb14b2Sfritsadd scsi_hba_tran::tran_destroy_pkt target atapi_tran_destroy_pkt 81*4ebb14b2Sfrits 82*4ebb14b2Sfritsadd scsi_hba_tran::tran_dmafree target atapi_tran_dmafree 83*4ebb14b2Sfrits 84*4ebb14b2Sfritsadd scsi_hba_tran::tran_sync_pkt target atapi_tran_sync_pkt 85*4ebb14b2Sfrits 86*4ebb14b2Sfritsadd scsi_hba_tran::tran_tgt_free target atapi_tran_tgt_free 87*4ebb14b2Sfrits 88*4ebb14b2Sfritsadd scsi_hba_tran::tran_getcap target atapi_tran_getcap 89*4ebb14b2Sfrits 90*4ebb14b2Sfritsadd scsi_hba_tran::tran_setcap target atapi_tran_setcap 91*4ebb14b2Sfrits 92*4ebb14b2Sfritsadd ata_pkt::ap_start targets \ 93*4ebb14b2Sfrits atapi_start \ 94*4ebb14b2Sfrits ata_disk_start 95*4ebb14b2Sfrits 96*4ebb14b2Sfritsadd ata_pkt::ap_intr targets \ 97*4ebb14b2Sfrits atapi_intr \ 98*4ebb14b2Sfrits ata_disk_intr 99*4ebb14b2Sfrits 100*4ebb14b2Sfritsadd ata_pkt::ap_complete targets \ 101*4ebb14b2Sfrits atapi_complete \ 102*4ebb14b2Sfrits ata_disk_complete 103*4ebb14b2Sfrits 104*4ebb14b2Sfritsadd scsi_hba_tran::tran_bus_config targets warlock_dummy 105*4ebb14b2Sfritsadd scsi_hba_tran::tran_bus_unconfig targets warlock_dummy 106*4ebb14b2Sfrits 107*4ebb14b2Sfritsadd cmd_ctl::ccc_hba_start target ata_hba_start 108*4ebb14b2Sfritsadd cmd_ctl::ccc_hba_complete target ata_hba_complete 109*4ebb14b2Sfritsadd cmd_ctl::ccc_process_intr target ata_process_intr 110*4ebb14b2Sfritsadd cmd_ctl::ccc_get_status target ata_get_status 111*4ebb14b2Sfritsadd cmd_ctl::ccc_timeout_func target ata_timeout_func 112*4ebb14b2Sfritsadd processfunc target ata_process_intr 113*4ebb14b2Sfritsadd statfunc target ata_get_status 114*4ebb14b2Sfrits 115*4ebb14b2Sfrits### Ignore the following functions as they are never used 116*4ebb14b2Sfritsignore L1_remove ata_disk_init_reset ghd_doneq_put ghd_gcmd_alloc 117*4ebb14b2Sfritsignore ghd_gcmd_free ghd_timer_stop ghd_tran_sync_pkt 118*4ebb14b2Sfritsignore scsi_htos_3byte scsi_htos_long scsi_htos_short scsi_stoh_3byte 119*4ebb14b2Sfritsignore scsi_stoh_long scsi_stoh_short 120*4ebb14b2Sfrits 121*4ebb14b2Sfrits### The following are not used by our code 122*4ebb14b2Sfritsadd cmd_ctl::ccc_ccballoc target warlock_dummy 123*4ebb14b2Sfritsadd cmd_ctl::ccc_ccbfree target warlock_dummy 124*4ebb14b2Sfrits 125*4ebb14b2Sfrits 126*4ebb14b2Sfritsroot atapi_signature 127*4ebb14b2Sfritsroot scsi_hba_bus_power 128*4ebb14b2Sfritsroot ghd_pktfree 129*4ebb14b2Sfritsroot ghd_scsa.c:ghd_pktalloc 130