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