xref: /titanic_44/usr/src/uts/common/io/warlock/uata.wlcmd (revision 598f4ceed9327d2d6c2325dd67cae3aa06f7fea6)
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 2006 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26#ident	"%Z%%M%	%I%	%E% SMI"
27#
28
29### Warlock commands for analyzing the uata driver alone.
30
31### Tell warlock there's only one ata_controller struct, so that it will
32### complain if the lock is acquired when it is already locked.
33
34one ata_controller
35
36### Tell warlock where calls through pkt_comp go.
37
38add dcd_pkt::pkt_comp targets \
39	ata_disk_tran_start \
40	ata_disk_tran_reset \
41	ata_disk_tran_abort \
42	ata_disk_tran_init_pkt \
43	ata_disk_tran_destroy_pkt \
44	ata_disk_tran_tgt_init
45
46add scsi_pkt::pkt_comp targets \
47	atapi_tran_start \
48	atapi_tran_abort \
49	atapi_tran_init_pkt \
50	atapi_tran_destroy_pkt \
51	atapi_tran_dmafree \
52	atapi_tran_sync_pkt \
53	atapi_tran_getcap \
54	atapi_tran_setcap \
55	atapi_tran_reset \
56	atapi_tran_tgt_free \
57	atapi_tran_tgt_init \
58	ata_disk_tran_tgt_probe
59
60
61add dcd_hba_tran::tran_tgt_init target ata_disk_tran_tgt_init
62add scsi_hba_tran::tran_tgt_init target atapi_tran_tgt_init
63
64add dcd_hba_tran::tran_tgt_probe target ata_disk_tran_tgt_probe
65add scsi_hba_tran::tran_tgt_probe target atapi_tran_tgt_probe
66add scsi_hba_tran::tran_bus_power target warlock_dummy
67
68add dcd_hba_tran::tran_start  target ata_disk_tran_start
69add scsi_hba_tran::tran_start  target atapi_tran_start
70
71add dcd_hba_tran::tran_reset target ata_disk_tran_reset
72
73add dcd_hba_tran::tran_abort target ata_disk_tran_abort
74add scsi_hba_tran::tran_abort target atapi_tran_abort
75
76add dcd_hba_tran::tran_init_pkt target ata_disk_tran_init_pkt
77add scsi_hba_tran::tran_init_pkt target atapi_tran_init_pkt
78
79add dcd_hba_tran::tran_destroy_pkt  target ata_disk_tran_destroy_pkt
80add scsi_hba_tran::tran_destroy_pkt  target atapi_tran_destroy_pkt
81
82add scsi_hba_tran::tran_dmafree target atapi_tran_dmafree
83
84add scsi_hba_tran::tran_sync_pkt target atapi_tran_sync_pkt
85
86add scsi_hba_tran::tran_tgt_free target atapi_tran_tgt_free
87
88add scsi_hba_tran::tran_getcap target atapi_tran_getcap
89
90add scsi_hba_tran::tran_setcap target atapi_tran_setcap
91
92add ata_pkt::ap_start targets \
93	atapi_start \
94	ata_disk_start
95
96add ata_pkt::ap_intr targets \
97	atapi_intr \
98	ata_disk_intr
99
100add ata_pkt::ap_complete targets \
101	atapi_complete \
102	ata_disk_complete
103
104add     scsi_hba_tran::tran_bus_config targets warlock_dummy
105add     scsi_hba_tran::tran_bus_unconfig targets warlock_dummy
106
107add cmd_ctl::ccc_hba_start target ata_hba_start
108add cmd_ctl::ccc_hba_complete target ata_hba_complete
109add cmd_ctl::ccc_process_intr target ata_process_intr
110add cmd_ctl::ccc_get_status target ata_get_status
111add cmd_ctl::ccc_timeout_func target ata_timeout_func
112add processfunc target ata_process_intr
113add statfunc target ata_get_status
114
115### Ignore the following functions as they are never used
116ignore L1_remove ata_disk_init_reset ghd_doneq_put ghd_gcmd_alloc
117ignore ghd_gcmd_free ghd_timer_stop ghd_tran_sync_pkt
118ignore scsi_htos_3byte scsi_htos_long scsi_htos_short scsi_stoh_3byte
119ignore scsi_stoh_long scsi_stoh_short
120
121### The following are not used by our code
122add cmd_ctl::ccc_ccballoc target warlock_dummy
123add cmd_ctl::ccc_ccbfree target warlock_dummy
124
125
126root atapi_signature
127root scsi_hba_bus_power
128root ghd_pktfree
129root ghd_scsa.c:ghd_pktalloc
130