xref: /titanic_41/usr/src/uts/common/io/fibre-channel/impl/fp_with_fctl.wlcmd (revision fcf3ce441efd61da9bb2884968af01cb7c1452cc)
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# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#
26
27. ./fp.wlcmd
28
29FCTL_ULP_FUNCTIONS="fc_ulp_add fc_ulp_remove fc_ulp_init_packet\
30	fc_ulp_uninit_packet fc_ulp_getportmap fc_ulp_login\
31	fc_ulp_getmap fc_ulp_get_device_by_nwwn fc_ulp_get_port_device\
32	fc_ulp_get_portlist fc_ulp_node_ns fc_ulp_port_ns fc_ulp_transport\
33	fc_ulp_issue_els fc_ulp_uballoc fc_ulp_ubfree fc_ulp_ubrelease\
34	fc_ulp_abort fc_ulp_linkreset fc_ulp_port_reset fc_ulp_get_did\
35	fc_ulp_logout fc_ulp_get_pd_state fc_ulp_is_fc4_bit_set\
36	fc_fca_update_errors fc_ulp_get_port_instance fc_ulp_error\
37	fc_ulp_pkt_error fc_ulp_is_name_present fc_ulp_is_type_present\
38	fc_ulp_get_pwwn_by_did fc_ulp_is_plogi_initiator\
39	fc_ulp_get_pwwn_by_did fc_ulp_get_port_handle\
40	fc_ulp_pwwn_to_portmap"
41
42FCTL_FCA_FUNCTIONS="fc_fca_attach fc_fca_detach fc_fca_init fc_fca_error\
43	fc_fca_pkt_error"
44
45FCTL_IGNORABLE_FUNCTIONS="fctl_get_pd_state fctl_set_pd_state\
46	fctl_wwn_match"
47
48#
49# Functions invoked via job_comp pointer for asynchronous request
50#
51add job_request::job_comp target fctl_link_reset_done
52add job_request::job_comp target fp.c:fp_startup_done
53
54add ulp_modinfo::ulp_port_attach target fc_ulp_getportmap
55add ulp_modinfo::ulp_statec_callback target fc_ulp_getportmap
56add ulp_modinfo::ulp_port_detach target warlock_dummy
57add ulp_modinfo::ulp_port_ioctl target warlock_dummy
58add ulp_modinfo::ulp_els_callback target warlock_dummy
59add ulp_modinfo::ulp_data_callback target warlock_dummy
60
61ignore fctl_cache_constructor fctl_cache_destructor
62
63for ptr in $FCTL_IGNORABLE_FUNCTIONS
64do
65	ignore $ptr
66done
67
68for ptr in $FCTL_ULP_FUNCTIONS
69do
70	root $ptr
71done
72
73for ptr in $FCTL_FCA_FUNCTIONS
74do
75	root $ptr
76done
77