vendorsmhbaapi.h revision 9e86db79b7d1bbc5f2f04e99954cbd5eae0e22bb
/*
* ****************************************************************************
*
* Description
* vendorhbaapi.h - incombination with hbaapi.h, defines interface to
* vendor specific API
*
* License:
* The contents of this file are subject to the SNIA Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is SNIA HBA API general header file
*
* The Initial Developer of the Original Code is:
* Benjamin F. Kuo, Troika Networks, Inc. (benk@troikanetworks.com)
*
* Contributor(s):
* Tuan Lam, QLogic Corp. (t_lam@qlc.com)
* Dan Willie, Emulex Corp. (Dan.Willie@emulex.com)
* Dixon Hutchinson, Legato Systems, Inc. (dhutchin@legato.com)
* David Dillard, VERITAS Software Corp. (david.dillard@veritas.com)
*
* ****************************************************************************
*
* Changes:
* 12/12/2001 Original revision, code split out of hbaapi.h
* (for other changes... see the CVS logs)
* ****************************************************************************
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _VENDORSMHBAAPI_H_
#define _VENDORSMHBAAPI_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <vendorhbaapi.h>
/* SM-HBA-2 6.9.2 Function Prototypes */
typedef HBA_UINT32 (* SMHBAGetVersionFunc)();
typedef HBA_UINT32 (* SMHBAGetWrapperLibraryAttributesFunc)
typedef HBA_UINT32 (* SMHBAGetVendorLibraryAttributesFunc)
typedef HBA_STATUS (* SMHBAGetAdapterAttributesFunc)
typedef HBA_STATUS (* SMHBAGetNumberOfPortsFunc)
(HBA_HANDLE, HBA_UINT32 *);
typedef HBA_STATUS (* SMHBAGetPortTypeFunc)
typedef HBA_STATUS (* SMHBAGetAdapterPortAttributesFunc)
typedef HBA_STATUS (* SMHBAGetDiscoveredPortAttributesFunc)
typedef HBA_STATUS (* SMHBAGetPortAttributesByWWNFunc)
typedef HBA_STATUS (* SMHBAGetFCPhyAttributesFunc)
typedef HBA_STATUS (* SMHBAGetSASPhyAttributesFunc)
typedef HBA_STATUS (* SMHBAGetProtocolStatisticsFunc)
typedef HBA_STATUS (* SMHBAGetPhyStatisticsFunc)
typedef HBA_STATUS (* SMHBASendTESTFunc)
typedef HBA_STATUS (* SMHBASendECHOFunc)
void *, HBA_UINT32 *);
typedef HBA_STATUS (* SMHBASendSMPPassThruFunc)
HBA_UINT32 *);
typedef HBA_STATUS (* SMHBAGetBindingCapabilityFunc)
typedef HBA_STATUS (* SMHBAGetBindingSupportFunc)
typedef HBA_STATUS (* SMHBASetBindingSupportFunc)
typedef HBA_STATUS (* SMHBAGetTargetMappingFunc)
typedef HBA_STATUS (* SMHBAGetPersistentBindingFunc)
typedef HBA_STATUS (* SMHBASetPersistentBindingFunc)
typedef HBA_STATUS (* SMHBARemovePersistentBindingFunc)
typedef HBA_STATUS (* SMHBARemoveAllPersistentBindingsFunc)
typedef HBA_STATUS (* SMHBAGetLUNStatisticsFunc)
typedef HBA_STATUS (* SMHBARegisterForAdapterAddEventsFunc)
typedef HBA_STATUS (* SMHBARegisterForAdapterEventsFunc)
(void (*)(void *, HBA_WWN, HBA_UINT32),
void *, HBA_HANDLE, HBA_CALLBACKHANDLE *);
typedef HBA_STATUS (* SMHBARegisterForAdapterPortEventsFunc)
typedef HBA_STATUS (* SMHBARegisterForAdapterPortStatEventsFunc)
typedef HBA_STATUS (* SMHBARegisterForAdapterPhyStatEventsFunc)
typedef HBA_STATUS (* SMHBARegisterForTargetEventsFunc)
typedef HBA_STATUS (* SMHBAScsiInquiryFunc)
typedef HBA_STATUS (* SMHBAScsiReportLUNsFunc)
HBA_UINT8 *, void *, HBA_UINT32 *);
typedef HBA_STATUS (* SMHBAScsiReadCapacityFunc)
/* SM-HBA-2 6.9.3 Entry Point Data Declarations */
typedef struct SMHBA_EntryPoints {
);
#ifdef __cplusplus
}
#endif
#endif /* _VENDORSMHBAAPI_H_ */