1321936Shselasky/* 2321936Shselasky * Copyright (c) 2004-2008 Voltaire, Inc. All rights reserved. 3321936Shselasky * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved. 4321936Shselasky * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 5321936Shselasky * 6321936Shselasky * This software is available to you under a choice of one of two 7321936Shselasky * licenses. You may choose to be licensed under the terms of the GNU 8321936Shselasky * General Public License (GPL) Version 2, available from the file 9321936Shselasky * COPYING in the main directory of this source tree, or the 10321936Shselasky * OpenIB.org BSD license below: 11321936Shselasky * 12321936Shselasky * Redistribution and use in source and binary forms, with or 13321936Shselasky * without modification, are permitted provided that the following 14321936Shselasky * conditions are met: 15321936Shselasky * 16321936Shselasky * - Redistributions of source code must retain the above 17321936Shselasky * copyright notice, this list of conditions and the following 18321936Shselasky * disclaimer. 19321936Shselasky * 20321936Shselasky * - Redistributions in binary form must reproduce the above 21321936Shselasky * copyright notice, this list of conditions and the following 22321936Shselasky * disclaimer in the documentation and/or other materials 23321936Shselasky * provided with the distribution. 24321936Shselasky * 25321936Shselasky * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 26321936Shselasky * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 27321936Shselasky * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 28321936Shselasky * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 29321936Shselasky * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 30321936Shselasky * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 31321936Shselasky * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 32321936Shselasky * SOFTWARE. 33321936Shselasky * 34321936Shselasky */ 35321936Shselasky 36321936Shselasky/* 37321936Shselasky * Abstract: 38321936Shselasky * Include file used by OpenSM to pull in the correct vendor file. 39321936Shselasky */ 40321936Shselasky 41321936Shselasky/* 42321936Shselasky this is the generic include file which includes 43321936Shselasky the proper vendor specific file 44321936Shselasky*/ 45321936Shselasky#include <opensm/osm_config.h> 46321936Shselasky 47321936Shselasky#if defined( OSM_VENDOR_INTF_TEST ) 48321936Shselasky#include <vendor/osm_vendor_test.h> 49321936Shselasky#elif defined( OSM_VENDOR_INTF_UMADT ) 50321936Shselasky#include <vendor/osm_vendor_umadt.h> 51321936Shselasky#elif defined( OSM_VENDOR_INTF_MTL ) 52321936Shselasky/* HACK - I do not know how to prevent complib from loading kernel H files */ 53321936Shselasky#undef __init 54321936Shselasky#include <vendor/osm_vendor_mlx.h> 55321936Shselasky#elif defined( OSM_VENDOR_INTF_TS ) 56321936Shselasky#undef __init 57321936Shselasky#include <vendor/osm_vendor_mlx.h> 58321936Shselasky#elif defined( OSM_VENDOR_INTF_ANAFA ) 59321936Shselasky#undef __init 60321936Shselasky#include <vendor/osm_vendor_mlx.h> 61321936Shselasky#elif defined( OSM_VENDOR_INTF_SIM ) 62321936Shselasky#undef __init 63321936Shselasky#include <vendor/osm_vendor_mlx.h> 64321936Shselasky#elif defined( OSM_VENDOR_INTF_OPENIB ) 65321936Shselasky#include <vendor/osm_vendor_ibumad.h> 66321936Shselasky#elif defined( OSM_VENDOR_INTF_AL ) 67321936Shselasky#include <vendor/osm_vendor_al.h> 68321936Shselasky#else 69321936Shselasky#error No MAD Interface selected! 70321936Shselasky#error Choose an interface in osm_config.h 71321936Shselasky#endif 72