summaryrefslogtreecommitdiffstats
path: root/private/ntos/ndis/madge/driver/mdgerrs.h
blob: af2e4b3d307128fe9cc0892cf9ec8953812abe0f (plain) (blame)
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
//
//  Values are 32 bit values layed out as follows:
//
//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
//  +---+-+-+-----------------------+-------------------------------+
//  |Sev|C|R|     Facility          |               Code            |
//  +---+-+-+-----------------------+-------------------------------+
//
//  where
//
//      Sev - is the severity code
//
//          00 - Success
//          01 - Informational
//          10 - Warning
//          11 - Error
//
//      C - is the Customer code flag
//
//      R - is a reserved bit
//
//      Facility - is the facility code
//
//      Code - is the facility's status code
//
//
// Define the facility codes
//


//
// Define the severity codes
//


//
// MessageId: NDIS_ERROR_CODE_OUT_OF_RESOURCE
//
// MessageText:
//
//  Adapter %2 : Insufficient memory or system resources was available
//  for the netcard driver to initialize. (The last DWORD of the data section
//  below contains a detailed error code.)
//
#define NDIS_ERROR_CODE_OUT_OF_RESOURCE  ((NDIS_ERROR_CODE)0xC0001389L)

//
// MessageId: NDIS_ERROR_CODE_HARDWARE_FAILURE
//
// MessageText:
//
//  Adapter %2 : The adapter hardware failed to initialize. Please
//  check that the adapter card is properly inserted into its slot and that the
//  network cable is connected. If its is an ISA adapter check that the interrupt
//  number, DMA channel and IO location in the adapter configuration match the
//  settings on the adapter card. (The data section below includes a driver 
//  specific error code of 0x07 and the last two DWORDS give a detailed error 
//  code.)
//
#define NDIS_ERROR_CODE_HARDWARE_FAILURE ((NDIS_ERROR_CODE)0xC000138AL)

//
// MessageId: NDIS_ERROR_CODE_ADAPTER_NOT_FOUND
//
// MessageText:
//
//  Adapter %2 : The netcard driver could not allocate sufficient memory
//  for transmit and recive buffers. The number of RX and TX slots and
//  the maximum frame size may have been reduced to reduce the amount
//  of memory required.
//
#define NDIS_ERROR_CODE_ADAPTER_NOT_FOUND ((NDIS_ERROR_CODE)0xC000138BL)

//
// MessageId: NDIS_ERROR_CODE_INTERRUPT_CONNECT
//
// MessageText:
//
//  Adapter %2 : The netcard driver was not able to connect the
//  adapter card's interrupt. Please ensure that the adapter card is properly
//  inserted into its slot. If it is an ISA adapter then check that the 
//  interrupt number specified in the adapter configuration matches that
//  set on the adapter card.
//
#define NDIS_ERROR_CODE_INTERRUPT_CONNECT ((NDIS_ERROR_CODE)0xC000138CL)

//
// MessageId: NDIS_ERROR_CODE_DRIVER_FAILURE
//
// MessageText:
//
//  Adapter %2 : One of the paramters in the registry entry for this adapter
//  is invalid. If possible a default value will have been used.
//
#define NDIS_ERROR_CODE_DRIVER_FAILURE   ((NDIS_ERROR_CODE)0xC000138DL)

//
// MessageId: NDIS_ERROR_CODE_UNSUPPORTED_CONFIGURATION
//
// MessageText:
//
//  Adapter %2 : The maximum frame size setting in the registry is too
//  large. The driver has trimmed it down to the maximum allowable setting. (The
//  data section below includes a driver specific error code of 0xC, followed by
//  the actual maximum frame size used in the last DWORD. Replace the value in the
//  registry with this).
//
#define NDIS_ERROR_CODE_UNSUPPORTED_CONFIGURATION ((NDIS_ERROR_CODE)0xC0001391L)

//
// MessageId: NDIS_ERROR_CODE_INAVLID_VALUE_FROM_ADAPTER
//
// MessageText:
//
//  Adapter %2 : The adapter could not be opened onto the ring. Please ensure
//  that the network cable is connected to the adapter and that the token
//  ring is fully connected. Also ensure that all the nodes on your ring
//  are set to the same speed and that all nodes have different addresses.
//
#define NDIS_ERROR_CODE_INAVLID_VALUE_FROM_ADAPTER ((NDIS_ERROR_CODE)0xC0001392L)

//
// MessageId: NDIS_ERROR_CODE_MISSING_CONFIGURATION_PARAMETER
//
// MessageText:
//
//  Adapter %2 : An essential registry parameter is missing for this adapter. 
//  For MCA and EISA adapters the registry must contain BusType and SlotNumber
//  parameters. For ISA adapters the registry must contain IoLocation,
//  InterruptNumber and DmaChannel parameters.
//
#define NDIS_ERROR_CODE_MISSING_CONFIGURATION_PARAMETER ((NDIS_ERROR_CODE)0xC0001393L)

//
// MessageId: NDIS_ERROR_CODE_INVALID_DOWNLOAD_FILE_ERROR
//
// MessageText:
//
//  Adapter %2 : Either the file MDGMPORT.BIN is not present in the device drivers 
//  directory, the file is of the wrong version or the file is corrupt.
//
#define NDIS_ERROR_CODE_INVALID_DOWNLOAD_FILE_ERROR ((NDIS_ERROR_CODE)0xC000139CL)

//
// MessageId: NDIS_ERROR_CODE_MEMORY_CONFLICT
//
// MessageText:
//
//  Adapter %2 : Either MMIO memory was not assigned or could not be mapped into
//  virtual memory. PIO transfer method is being used instead of MMIO.
//
#define NDIS_ERROR_CODE_MEMORY_CONFLICT  ((NDIS_ERROR_CODE)0x80001399L)