1fcf3ce44SJohn Forte# 2fcf3ce44SJohn Forte# CDDL HEADER START 3fcf3ce44SJohn Forte# 4fcf3ce44SJohn Forte# The contents of this file are subject to the terms of the 5fcf3ce44SJohn Forte# Common Development and Distribution License (the "License"). 6fcf3ce44SJohn Forte# You may not use this file except in compliance with the License. 7fcf3ce44SJohn Forte# 8fcf3ce44SJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9fcf3ce44SJohn Forte# or http://www.opensolaris.org/os/licensing. 10fcf3ce44SJohn Forte# See the License for the specific language governing permissions 11fcf3ce44SJohn Forte# and limitations under the License. 12fcf3ce44SJohn Forte# 13fcf3ce44SJohn Forte# When distributing Covered Code, include this CDDL HEADER in each 14fcf3ce44SJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15fcf3ce44SJohn Forte# If applicable, add the following below this CDDL HEADER, with the 16fcf3ce44SJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying 17fcf3ce44SJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner] 18fcf3ce44SJohn Forte# 19fcf3ce44SJohn Forte# CDDL HEADER END 20fcf3ce44SJohn Forte# 21fcf3ce44SJohn Forte# 22cd3e9333SAli Bahrami# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. 23fcf3ce44SJohn Forte# 24bfed486aSAli Bahrami 25fcf3ce44SJohn Forte# 26bfed486aSAli Bahrami# MAPFILE HEADER START 27bfed486aSAli Bahrami# 28bfed486aSAli Bahrami# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. 29bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in 30bfed486aSAli Bahrami# 31bfed486aSAli Bahrami# usr/src/lib/README.mapfiles 32fcf3ce44SJohn Forte# 33bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current 34bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance. 35fcf3ce44SJohn Forte# 36bfed486aSAli Bahrami# MAPFILE HEADER END 37bfed486aSAli Bahrami# 38bfed486aSAli Bahrami 39bfed486aSAli Bahrami# 40bfed486aSAli Bahrami# Generic interface definition for usr/src/lib/storage/libg_fc. 41fcf3ce44SJohn Forte# 42bfed486aSAli Bahrami 43cd3e9333SAli Bahrami$mapfile_version 2 44cd3e9333SAli Bahrami 45cd3e9333SAli BahramiSYMBOL_VERSION SUNW_2.0 { 46fcf3ce44SJohn Forte global: 47fcf3ce44SJohn Forte g_device_in_map; 48fcf3ce44SJohn Forte g_free_multipath; 49fcf3ce44SJohn Forte g_free_wwn_list; 50fcf3ce44SJohn Forte g_get_dev_map; 51fcf3ce44SJohn Forte g_get_lilp_map; 52fcf3ce44SJohn Forte g_get_host_params; 53fcf3ce44SJohn Forte g_get_fca_port_topology; 54fcf3ce44SJohn Forte g_get_inquiry; 55fcf3ce44SJohn Forte g_get_serial_number; 56fcf3ce44SJohn Forte g_get_limited_map; 57fcf3ce44SJohn Forte g_get_multipath; 58fcf3ce44SJohn Forte g_get_nexus_path; 59fcf3ce44SJohn Forte g_get_port_path; 60fcf3ce44SJohn Forte g_get_port_state; 61fcf3ce44SJohn Forte g_get_wwn; 62fcf3ce44SJohn Forte g_get_wwn_list; 63fcf3ce44SJohn Forte g_rdls; 64fcf3ce44SJohn Forte g_dev_start; 65fcf3ce44SJohn Forte g_dev_stop; 66fcf3ce44SJohn Forte g_free_portlist; 67fcf3ce44SJohn Forte g_force_lip; 68fcf3ce44SJohn Forte g_forcelip_all; 69fcf3ce44SJohn Forte g_offline_drive; 70fcf3ce44SJohn Forte g_online_drive; 71fcf3ce44SJohn Forte g_get_errString; 72fcf3ce44SJohn Forte g_get_physical_name; 73fcf3ce44SJohn Forte g_get_physical_name_from_link; 74fcf3ce44SJohn Forte g_scsi_log_sense_cmd; 75fcf3ce44SJohn Forte g_scsi_mode_sense_cmd; 76fcf3ce44SJohn Forte g_scsi_read_capacity_cmd; 77fcf3ce44SJohn Forte g_scsi_read_capacity_1016_cmd; 78fcf3ce44SJohn Forte g_scsi_readbuffer_cmd; 79fcf3ce44SJohn Forte g_scsi_rec_diag_cmd; 80fcf3ce44SJohn Forte g_scsi_reset; 81fcf3ce44SJohn Forte g_scsi_send_diag_cmd; 82fcf3ce44SJohn Forte g_scsi_tur; 83fcf3ce44SJohn Forte g_scsi_writebuffer_cmd; 84*7e85189aSToomas Soome g_switch_to_alpa { 85*7e85189aSToomas Soome ASSERT = { 86*7e85189aSToomas Soome TYPE = OBJECT; 87*7e85189aSToomas Soome SIZE = 126; 88*7e85189aSToomas Soome }; 89*7e85189aSToomas Soome }; 90*7e85189aSToomas Soome g_sf_alpa_to_switch { 91*7e85189aSToomas Soome ASSERT = { 92*7e85189aSToomas Soome TYPE = OBJECT; 93*7e85189aSToomas Soome SIZE = 240; 94*7e85189aSToomas Soome }; 95*7e85189aSToomas Soome }; 96fcf3ce44SJohn Forte g_i18n_catopen; 97fcf3ce44SJohn Forte g_port_offline; 98fcf3ce44SJohn Forte g_port_online; 99fcf3ce44SJohn Forte g_loopback_mode; 100fcf3ce44SJohn Forte g_stms_path_enable; 101fcf3ce44SJohn Forte g_stms_path_disable_all; 102fcf3ce44SJohn Forte g_stms_path_enable_all; 103fcf3ce44SJohn Forte g_stms_path_disable; 104fcf3ce44SJohn Forte g_stms_get_path_state; 105fcf3ce44SJohn Forte g_get_dev_list; 106fcf3ce44SJohn Forte g_wwn_in_dev_list; 107fcf3ce44SJohn Forte g_get_inq_dtype; 108fcf3ce44SJohn Forte g_dev_login; 109fcf3ce44SJohn Forte g_dev_logout; 110fcf3ce44SJohn Forte g_reserve; 111fcf3ce44SJohn Forte g_release; 112fcf3ce44SJohn Forte g_start; 113fcf3ce44SJohn Forte g_stop; 114fcf3ce44SJohn Forte g_string_to_wwn; 115fcf3ce44SJohn Forte g_ll_to_str; 116fcf3ce44SJohn Forte g_get_port_multipath; 117fcf3ce44SJohn Forte g_destroy_data; 118fcf3ce44SJohn Forte g_dump; 119fcf3ce44SJohn Forte g_object_open; 120fcf3ce44SJohn Forte g_zalloc; 121fcf3ce44SJohn Forte g_alloc_string; 122fcf3ce44SJohn Forte g_scsi_mode_select_cmd; 123fcf3ce44SJohn Forte g_scsi_inquiry_cmd; 124fcf3ce44SJohn Forte g_scsi_persistent_reserve_in_cmd; 125fcf3ce44SJohn Forte g_get_path_type; 126*7e85189aSToomas Soome$if _ELF32 127*7e85189aSToomas Soome l_catd { 128*7e85189aSToomas Soome ASSERT = { 129*7e85189aSToomas Soome TYPE = OBJECT; 130*7e85189aSToomas Soome SIZE = 4; 131*7e85189aSToomas Soome }; 132*7e85189aSToomas Soome }; 133*7e85189aSToomas Soome$elif _ELF64 134*7e85189aSToomas Soome l_catd { 135*7e85189aSToomas Soome ASSERT = { 136*7e85189aSToomas Soome TYPE = OBJECT; 137*7e85189aSToomas Soome SIZE = 8; 138*7e85189aSToomas Soome }; 139*7e85189aSToomas Soome }; 140*7e85189aSToomas Soome$else 141*7e85189aSToomas Soome$error Unknown ELFCLASS 142*7e85189aSToomas Soome$endif 143fcf3ce44SJohn Forte g_get_lun_str; 144fcf3ce44SJohn Forte g_get_lun_number; 145fcf3ce44SJohn Forte g_get_pathlist; 146fcf3ce44SJohn Forte g_get_pathcount; 147fcf3ce44SJohn Forte g_failover; 148fcf3ce44SJohn Forte g_sort_wwn_list; 149fcf3ce44SJohn Forte g_devid_get; 150fcf3ce44SJohn Forte g_devices_get_all; 151fcf3ce44SJohn Forte g_dev_map_init; 152fcf3ce44SJohn Forte g_dev_map_fini; 153fcf3ce44SJohn Forte g_get_map_topology; 154fcf3ce44SJohn Forte g_get_first_dev; 155fcf3ce44SJohn Forte g_get_next_dev; 156fcf3ce44SJohn Forte g_dev_prop_lookup_bytes; 157fcf3ce44SJohn Forte g_dev_prop_lookup_ints; 158fcf3ce44SJohn Forte g_dev_prop_lookup_strings; 159fcf3ce44SJohn Forte g_get_first_dev_prop; 160fcf3ce44SJohn Forte g_get_next_dev_prop; 161fcf3ce44SJohn Forte g_get_dev_prop_name; 162fcf3ce44SJohn Forte g_get_dev_prop_type; 163fcf3ce44SJohn Forte g_get_dev_prop_bytes; 164fcf3ce44SJohn Forte g_get_dev_prop_ints; 165fcf3ce44SJohn Forte g_get_dev_prop_strings; 166fcf3ce44SJohn Forte g_enclDiskChk; 167fcf3ce44SJohn Forte local: 168fcf3ce44SJohn Forte *; 169fcf3ce44SJohn Forte}; 170