00001 00002 /*M* 00003 BSD License 00004 00005 Copyright (c) 2002, Intel Corporation 00006 All rights reserved. 00007 00008 Redistribution and use in source and binary forms, with or without 00009 modification, are permitted provided that the following conditions are met: 00010 00011 a.. Redistributions of source code must retain the above copyright notice, 00012 this list of conditions and the following disclaimer. 00013 b.. Redistributions in binary form must reproduce the above copyright notice, 00014 this list of conditions and the following disclaimer in the documentation 00015 and/or other materials provided with the distribution. 00016 c.. Neither the name of Intel Corporation nor the names of its contributors 00017 may be used to endorse or promote products derived from this software 00018 without specific prior written permission. 00019 00020 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 00021 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 00022 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00023 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 00024 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00025 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00026 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 00027 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00028 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00029 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00030 00031 *M*/ 00032 00033 #ifndef __RM_ERRNO__ 00034 #define __RM_ERRNO__ 00035 00036 #include <errno.h> 00037 #define RME_START 600 00038 #define RME_IOCTL_FAILED RME_START+1 /* ioctl call failed */ 00039 #define RME_DRVR_INTF_VER RME_START+2 /* Driver's interface version is incompatable with subsystem */ 00040 #define RME_LIB_INIT_FAILED RME_START+3 /* Library initialization failed */ 00041 #define RME_NO_DEVICES RME_START+4 /* No e100 devices found */ 00042 #define RME_STAT_DISABLED RME_START+5 /* Statistic disabled in driver */ 00043 00044 #endif 00045