xref: /titanic_51/usr/src/uts/common/io/fibre-channel/ulp/fcp.wlcmd (revision 791a814c934fcd4deb13b26c1f116ff283272a0d)
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
27
28one fcp_port
29
30#
31# List of callbacks
32#
33
34FCP_CALLBACK_HANDLERS="fcp_statec_callback fcp_cmd_callback \
35		       fcp_icmd_callback fcp_scsi_callback \
36		       fcp_els_callback fcp_data_callback \
37		       fcp_unsol_callback fcp_resource_callback"
38
39root fcp_port_attach fcp_port_detach fcp_port_ioctl
40
41root fcp_scsi_reset_notify
42
43root fcp_kmem_cache_constructor fcp_kmem_cache_destructor
44
45for ptr in $FCP_CALLBACK_HANDLERS
46do
47	root $ptr
48done
49
50root fcp_hp_daemon fcp_watch
51
52add scsi_pkt::pkt_comp targets \
53	fcp_scsi_start \
54	fcp_scsi_abort \
55	fcp_scsi_getcap \
56	fcp_scsi_setcap \
57	fcp_scsi_dmafree \
58	fcp_scsi_sync_pkt \
59	fcp_scsi_destroy_pkt \
60	fcp_scsi_init_pkt \
61	fcp_scsi_tgt_init \
62	fcp_scsi_tgt_free \
63	fcp_scsi_bus_get_eventcookie \
64	fcp_scsi_bus_add_eventcall \
65	fcp_scsi_bus_remove_eventcall \
66	fcp_scsi_bus_post_event
67
68