1*7836SJohn.Forte@Sun.COM#
2*7836SJohn.Forte@Sun.COM# CDDL HEADER START
3*7836SJohn.Forte@Sun.COM#
4*7836SJohn.Forte@Sun.COM# The contents of this file are subject to the terms of the
5*7836SJohn.Forte@Sun.COM# Common Development and Distribution License (the "License").
6*7836SJohn.Forte@Sun.COM# You may not use this file except in compliance with the License.
7*7836SJohn.Forte@Sun.COM#
8*7836SJohn.Forte@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*7836SJohn.Forte@Sun.COM# or http://www.opensolaris.org/os/licensing.
10*7836SJohn.Forte@Sun.COM# See the License for the specific language governing permissions
11*7836SJohn.Forte@Sun.COM# and limitations under the License.
12*7836SJohn.Forte@Sun.COM#
13*7836SJohn.Forte@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
14*7836SJohn.Forte@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*7836SJohn.Forte@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
16*7836SJohn.Forte@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
17*7836SJohn.Forte@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
18*7836SJohn.Forte@Sun.COM#
19*7836SJohn.Forte@Sun.COM# CDDL HEADER END
20*7836SJohn.Forte@Sun.COM#
21*7836SJohn.Forte@Sun.COM#
22*7836SJohn.Forte@Sun.COM# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*7836SJohn.Forte@Sun.COM# Use is subject to license terms.
24*7836SJohn.Forte@Sun.COM#
25*7836SJohn.Forte@Sun.COM#
26*7836SJohn.Forte@Sun.COM
27*7836SJohn.Forte@Sun.COM. ./fp.wlcmd
28*7836SJohn.Forte@Sun.COM
29*7836SJohn.Forte@Sun.COMFCTL_ULP_FUNCTIONS="fc_ulp_add fc_ulp_remove fc_ulp_init_packet\
30*7836SJohn.Forte@Sun.COM	fc_ulp_uninit_packet fc_ulp_getportmap fc_ulp_login\
31*7836SJohn.Forte@Sun.COM	fc_ulp_getmap fc_ulp_get_device_by_nwwn fc_ulp_get_port_device\
32*7836SJohn.Forte@Sun.COM	fc_ulp_get_portlist fc_ulp_node_ns fc_ulp_port_ns fc_ulp_transport\
33*7836SJohn.Forte@Sun.COM	fc_ulp_issue_els fc_ulp_uballoc fc_ulp_ubfree fc_ulp_ubrelease\
34*7836SJohn.Forte@Sun.COM	fc_ulp_abort fc_ulp_linkreset fc_ulp_port_reset fc_ulp_get_did\
35*7836SJohn.Forte@Sun.COM	fc_ulp_logout fc_ulp_get_pd_state fc_ulp_is_fc4_bit_set\
36*7836SJohn.Forte@Sun.COM	fc_fca_update_errors fc_ulp_get_port_instance fc_ulp_error\
37*7836SJohn.Forte@Sun.COM	fc_ulp_pkt_error fc_ulp_is_name_present fc_ulp_is_type_present\
38*7836SJohn.Forte@Sun.COM	fc_ulp_get_pwwn_by_did fc_ulp_is_plogi_initiator\
39*7836SJohn.Forte@Sun.COM	fc_ulp_get_pwwn_by_did fc_ulp_get_port_handle\
40*7836SJohn.Forte@Sun.COM	fc_ulp_pwwn_to_portmap"
41*7836SJohn.Forte@Sun.COM
42*7836SJohn.Forte@Sun.COMFCTL_FCA_FUNCTIONS="fc_fca_attach fc_fca_detach fc_fca_init fc_fca_error\
43*7836SJohn.Forte@Sun.COM	fc_fca_pkt_error"
44*7836SJohn.Forte@Sun.COM
45*7836SJohn.Forte@Sun.COMFCTL_IGNORABLE_FUNCTIONS="fctl_get_pd_state fctl_set_pd_state\
46*7836SJohn.Forte@Sun.COM	fctl_wwn_match"
47*7836SJohn.Forte@Sun.COM
48*7836SJohn.Forte@Sun.COM#
49*7836SJohn.Forte@Sun.COM# Functions invoked via job_comp pointer for asynchronous request
50*7836SJohn.Forte@Sun.COM#
51*7836SJohn.Forte@Sun.COMadd job_request::job_comp target fctl_link_reset_done
52*7836SJohn.Forte@Sun.COMadd job_request::job_comp target fp.c:fp_startup_done
53*7836SJohn.Forte@Sun.COM
54*7836SJohn.Forte@Sun.COMadd ulp_modinfo::ulp_port_attach target fc_ulp_getportmap
55*7836SJohn.Forte@Sun.COMadd ulp_modinfo::ulp_statec_callback target fc_ulp_getportmap
56*7836SJohn.Forte@Sun.COMadd ulp_modinfo::ulp_port_detach target warlock_dummy
57*7836SJohn.Forte@Sun.COMadd ulp_modinfo::ulp_port_ioctl target warlock_dummy
58*7836SJohn.Forte@Sun.COMadd ulp_modinfo::ulp_els_callback target warlock_dummy
59*7836SJohn.Forte@Sun.COMadd ulp_modinfo::ulp_data_callback target warlock_dummy
60*7836SJohn.Forte@Sun.COM
61*7836SJohn.Forte@Sun.COMignore fctl_cache_constructor fctl_cache_destructor
62*7836SJohn.Forte@Sun.COM
63*7836SJohn.Forte@Sun.COMfor ptr in $FCTL_IGNORABLE_FUNCTIONS
64*7836SJohn.Forte@Sun.COMdo
65*7836SJohn.Forte@Sun.COM	ignore $ptr
66*7836SJohn.Forte@Sun.COMdone
67*7836SJohn.Forte@Sun.COM
68*7836SJohn.Forte@Sun.COMfor ptr in $FCTL_ULP_FUNCTIONS
69*7836SJohn.Forte@Sun.COMdo
70*7836SJohn.Forte@Sun.COM	root $ptr
71*7836SJohn.Forte@Sun.COMdone
72*7836SJohn.Forte@Sun.COM
73*7836SJohn.Forte@Sun.COMfor ptr in $FCTL_FCA_FUNCTIONS
74*7836SJohn.Forte@Sun.COMdo
75*7836SJohn.Forte@Sun.COM	root $ptr
76*7836SJohn.Forte@Sun.COMdone
77