errno.h revision 289624
11553Srgrimes/* $FreeBSD: head/sys/ofed/include/linux/errno.h 289624 2015-10-20 11:40:04Z hselasky $ */ 21553Srgrimes/*- 31553Srgrimes * Copyright (c) 2010 Isilon Systems, Inc. 41553Srgrimes * Copyright (c) 2010 iX Systems, Inc. 51553Srgrimes * Copyright (c) 2010 Panasas, Inc. 61553Srgrimes * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd. 71553Srgrimes * All rights reserved. 81553Srgrimes * 91553Srgrimes * Redistribution and use in source and binary forms, with or without 101553Srgrimes * modification, are permitted provided that the following conditions 111553Srgrimes * are met: 121553Srgrimes * 1. Redistributions of source code must retain the above copyright 131553Srgrimes * notice unmodified, this list of conditions, and the following 141553Srgrimes * disclaimer. 151553Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 161553Srgrimes * notice, this list of conditions and the following disclaimer in the 171553Srgrimes * documentation and/or other materials provided with the distribution. 181553Srgrimes * 191553Srgrimes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 201553Srgrimes * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 211553Srgrimes * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 221553Srgrimes * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 231553Srgrimes * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 241553Srgrimes * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 251553Srgrimes * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 261553Srgrimes * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 271553Srgrimes * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 281553Srgrimes * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 291553Srgrimes */ 301553Srgrimes 3129602Scharnier#ifndef _LINUX_ERRNO_H_ 321553Srgrimes#define _LINUX_ERRNO_H_ 331553Srgrimes 341553Srgrimes#include <sys/errno.h> 351553Srgrimes 361553Srgrimes#define ECHRNG EDOM 3729602Scharnier#define ETIME ETIMEDOUT 3829602Scharnier#define ECOMM ESTALE 3929602Scharnier#define ENODATA ECONNREFUSED 401553Srgrimes#define ENOIOCTLCMD ENOIOCTL 411553Srgrimes#define ERESTARTSYS ERESTART 4298563Sjmallett#define ENOTSUPP EOPNOTSUPP 4398563Sjmallett#define ENONET EHOSTDOWN 4498563Sjmallett 451553Srgrimes#endif /* _LINUX_ERRNO_H_ */ 461553Srgrimes