1*fcf3ce44SJohn Forte# 2*fcf3ce44SJohn Forte# CDDL HEADER START 3*fcf3ce44SJohn Forte# 4*fcf3ce44SJohn Forte# The contents of this file are subject to the terms of the 5*fcf3ce44SJohn Forte# Common Development and Distribution License (the "License"). 6*fcf3ce44SJohn Forte# You may not use this file except in compliance with the License. 7*fcf3ce44SJohn Forte# 8*fcf3ce44SJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*fcf3ce44SJohn Forte# or http://www.opensolaris.org/os/licensing. 10*fcf3ce44SJohn Forte# See the License for the specific language governing permissions 11*fcf3ce44SJohn Forte# and limitations under the License. 12*fcf3ce44SJohn Forte# 13*fcf3ce44SJohn Forte# When distributing Covered Code, include this CDDL HEADER in each 14*fcf3ce44SJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*fcf3ce44SJohn Forte# If applicable, add the following below this CDDL HEADER, with the 16*fcf3ce44SJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying 17*fcf3ce44SJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner] 18*fcf3ce44SJohn Forte# 19*fcf3ce44SJohn Forte# CDDL HEADER END 20*fcf3ce44SJohn Forte# 21*fcf3ce44SJohn Forte# 22*fcf3ce44SJohn Forte# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23*fcf3ce44SJohn Forte# Use is subject to license terms. 24*fcf3ce44SJohn Forte# 25*fcf3ce44SJohn Forte# 26*fcf3ce44SJohn Forte 27*fcf3ce44SJohn Forteone fc_port 28*fcf3ce44SJohn Forte 29*fcf3ce44SJohn Forte# 30*fcf3ce44SJohn Forte# List of interrupt handlers in the port driver 31*fcf3ce44SJohn Forte# 32*fcf3ce44SJohn ForteFP_INTERRUPT_HANDLERS="fp_flogi_intr fp_plogi_intr fp_logo_intr fp_adisc_intr\ 33*fcf3ce44SJohn Forte fp_ns_intr fp_intr fp_linit_intr fp_rls_intr" 34*fcf3ce44SJohn Forte 35*fcf3ce44SJohn Forte# 36*fcf3ce44SJohn Forte# Lately warlock doesn't seem to recognize job_comp field in 2.8 37*fcf3ce44SJohn Forte# environment - however it does in fp_with_fctl.wlcmd. So root 38*fcf3ce44SJohn Forte# out the following functions 39*fcf3ce44SJohn Forte# 40*fcf3ce44SJohn Forte# PS: ns suggests me to start using locklint, but that will 41*fcf3ce44SJohn Forte# take some time 42*fcf3ce44SJohn Forte# 43*fcf3ce44SJohn Forteroot fp_startup_done 44*fcf3ce44SJohn Forte 45*fcf3ce44SJohn Forte# 46*fcf3ce44SJohn Forte# List of callbacks in the port driver 47*fcf3ce44SJohn Forte# 48*fcf3ce44SJohn ForteFP_CALLBACK_HANDLERS="fp_statec_cb fp_unsol_cb" 49*fcf3ce44SJohn Forte 50*fcf3ce44SJohn Forte# 51*fcf3ce44SJohn Forte# Give warlock a dummy target for each of the function 52*fcf3ce44SJohn Forte# pointers in the fca_tran structure. 53*fcf3ce44SJohn Forte# 54*fcf3ce44SJohn Forte 55*fcf3ce44SJohn Fortefor ptr in `funcptrs | grep '^fca_tran::'` 56*fcf3ce44SJohn Fortedo 57*fcf3ce44SJohn Forte add $ptr target warlock_dummy 58*fcf3ce44SJohn Fortedone 59*fcf3ce44SJohn Forte 60*fcf3ce44SJohn Forte# 61*fcf3ce44SJohn Forte# add interrupt targets to fca_transport and fca_els_send 62*fcf3ce44SJohn Forte# 63*fcf3ce44SJohn Forteadd fp_cmd::cmd_transport targets $FP_INTERRUPT_HANDLERS 64*fcf3ce44SJohn Forteadd fc_packet::pkt_comp targets $FP_INTERRUPT_HANDLERS 65*fcf3ce44SJohn Forte 66*fcf3ce44SJohn Forte# 67*fcf3ce44SJohn Forte# Till such time we actually use the following bus_ops 68*fcf3ce44SJohn Forte# vectors, make them target to warlock_dummys 69*fcf3ce44SJohn Forte# 70*fcf3ce44SJohn Forteadd bus_ops::bus_get_eventcookie target warlock_dummy 71*fcf3ce44SJohn Forteadd bus_ops::bus_add_eventcall target warlock_dummy 72*fcf3ce44SJohn Forteadd bus_ops::bus_remove_eventcall target warlock_dummy 73*fcf3ce44SJohn Forteadd bus_ops::bus_post_event target warlock_dummy 74*fcf3ce44SJohn Forteadd bus_ops::bus_intr_ctl target warlock_dummy 75*fcf3ce44SJohn Forte 76*fcf3ce44SJohn Forteignore fp_cache_constructor fp_cache_destructor 77*fcf3ce44SJohn Forte 78*fcf3ce44SJohn Forte# 79*fcf3ce44SJohn Forte# Make all callback handlers as root 80*fcf3ce44SJohn Forte# 81*fcf3ce44SJohn Fortefor ptr in $FP_CALLBACK_HANDLERS 82*fcf3ce44SJohn Fortedo 83*fcf3ce44SJohn Forte root $ptr 84*fcf3ce44SJohn Fortedone 85