aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/benet/bestatus.h
blob: 59c7a4b622238e559ce0b038baec7a09f4ee2038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/*
 * Copyright (C) 2005 - 2008 ServerEngines
 * All rights reserved.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License version 2
 * as published by the Free Software Foundation.  The full GNU General
 * Public License is included in this distribution in the file called COPYING.
 *
 * Contact Information:
 * linux-drivers@serverengines.com
 *
 * ServerEngines
 * 209 N. Fair Oaks Ave
 * Sunnyvale, CA 94085
 */
#ifndef _BESTATUS_H_
#define _BESTATUS_H_

#define BE_SUCCESS                      (0x00000000L)
/*
 * MessageId: BE_PENDING
 *  The BladeEngine Driver call succeeded, and pended operation.
 */
#define BE_PENDING                       (0x20070001L)
#define BE_STATUS_PENDING                (BE_PENDING)
/*
 * MessageId: BE_NOT_OK
 *  An error occurred.
 */
#define BE_NOT_OK                        (0xE0070002L)
/*
 * MessageId: BE_STATUS_SYSTEM_RESOURCES
 *  Insufficient host system resources exist to complete the API.
 */
#define BE_STATUS_SYSTEM_RESOURCES       (0xE0070003L)
/*
 * MessageId: BE_STATUS_CHIP_RESOURCES
 *  Insufficient chip resources exist to complete the API.
 */
#define BE_STATUS_CHIP_RESOURCES         (0xE0070004L)
/*
 * MessageId: BE_STATUS_NO_RESOURCE
 *  Insufficient resources to complete request.
 */
#define BE_STATUS_NO_RESOURCE            (0xE0070005L)
/*
 * MessageId: BE_STATUS_BUSY
 *  Resource is currently busy.
 */
#define BE_STATUS_BUSY                   (0xE0070006L)
/*
 * MessageId: BE_STATUS_INVALID_PARAMETER
 *  Invalid Parameter in request.
 */
#define BE_STATUS_INVALID_PARAMETER      (0xE0000007L)
/*
 * MessageId: BE_STATUS_NOT_SUPPORTED
 *  Requested operation is not supported.
 */
#define BE_STATUS_NOT_SUPPORTED          (0xE000000DL)

/*
 * ***************************************************************************
 *                     E T H E R N E T   S T A T U S
 * ***************************************************************************
 */

/*
 * MessageId: BE_ETH_TX_ERROR
 *  The Ethernet device driver failed to transmit a packet.
 */
#define BE_ETH_TX_ERROR                  (0xE0070101L)

/*
 * ***************************************************************************
 *                     S H A R E D   S T A T U S
 * ***************************************************************************
 */

/*
 * MessageId: BE_STATUS_VBD_INVALID_VERSION
 *  The device driver is not compatible with this version of the VBD.
 */
#define BE_STATUS_INVALID_VERSION    (0xE0070402L)
/*
 * MessageId: BE_STATUS_DOMAIN_DENIED
 *  The operation failed to complete due to insufficient access
 *  rights for the requesting domain.
 */
#define BE_STATUS_DOMAIN_DENIED          (0xE0070403L)
/*
 * MessageId: BE_STATUS_TCP_NOT_STARTED
 *  The embedded TCP/IP stack has not been started.
 */
#define BE_STATUS_TCP_NOT_STARTED        (0xE0070409L)
/*
 * MessageId: BE_STATUS_NO_MCC_WRB
 *  No free MCC WRB are available for posting the request.
 */
#define BE_STATUS_NO_MCC_WRB                 (0xE0070414L)

#endif /* _BESTATUS_ */